Archived
Use best practices for Dockerfiles (#180)
This commit is contained in:
1 parent
bcbe60a8d8
commit
5cc50eb522
7 files changed
+34
-25
No files matched your search
+4
-3
@@ -1,9 +1,10 @@
|
||||
FROM nginx:mainline
|
||||
|
||||
# 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 docker-entry.sh /
|
||||
RUN chmod +x /docker-entry.sh
|
||||
ENTRYPOINT /docker-entry.sh
|
||||
# Add and setup entrypoint
|
||||
COPY entrypoint.sh /
|
||||
ENTRYPOINT ["/entrypoint.sh"]
|
||||
Reference in new issue
Block a user