This repository has been archived on 2021-08-31. You can view files and clone it, but cannot push or open issues or pull requests.
mattermost/web/Dockerfile
Pan Luo 7cccaa82d7
Merge pull request #198 from mattermost/use-alpine-on-web
Use Alpine based Nginx image for Web container
2017-11-19 23:29:10 -08:00

12 lines
357 B
Docker

FROM nginx:mainline-alpine
# Remove default configuration and add our custom Nginx configuration files
RUN rm /etc/nginx/conf.d/default.conf
COPY ./mattermost /etc/nginx/sites-available/
COPY ./mattermost-ssl /etc/nginx/sites-available/
COPY ./security.conf /etc/nginx/conf.d/
# Add and setup entrypoint
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]