Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
FROM nginx:1.7
ENV DEBIAN_FRONTEND noninteractive

ADD nginx.conf /etc/nginx.conf
ADD nginx.conf /etc/nginx/nginx.conf
USER root

EXPOSE 4242
EXPOSE 2375

CMD ["/usr/local/sbin/nginx"]
CMD ["/usr/sbin/nginx"]

1 change: 1 addition & 0 deletions nginx.conf
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
worker_processes 1;
user root;

events {
worker_connections 1024;
Expand Down