SIEMbitwardendnscrypthome assistantjellyfinjitsimulti-factor authenticationnextcloudonlyofficepiholeraspberry pirocket.chatsyncthingtorwazuhwireguard
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
538 B
20 lines
538 B
|
5 years ago
|
FROM nginx:mainline-alpine
|
||
|
|
|
||
|
|
# Remove default configuration and add our custom Nginx configuration files
|
||
|
|
RUN rm /etc/nginx/conf.d/default.conf \
|
||
|
|
&& apk add --no-cache curl
|
||
|
|
|
||
|
|
COPY ["./mattermost", "./mattermost-ssl", "/etc/nginx/sites-available/"]
|
||
|
|
COPY ./security.conf /etc/nginx/conf.d/
|
||
|
|
|
||
|
|
# Add and setup entrypoint
|
||
|
|
COPY entrypoint.sh /
|
||
|
|
|
||
|
|
#Healthcheck to make sure container is ready
|
||
|
|
HEALTHCHECK CMD curl --fail http://localhost:80 || exit 1
|
||
|
|
|
||
|
|
ENTRYPOINT ["/entrypoint.sh"]
|
||
|
|
|
||
|
|
VOLUME ["/var/run", "/etc/nginx/conf.d/", "/var/cache/nginx/"]
|
||
|
|
|