Skip to content
Snippets Groups Projects
Commit 3d9cd27d authored by Jake's avatar Jake
Browse files

updated Dockerfile

parent de6d1995
No related branches found
No related tags found
No related merge requests found
......@@ -26,8 +26,6 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y nginx
RUN rm -vf /etc/nginx/sites-enabled/*
RUN ln -s /app/scaffold/nginx-site.conf.docker /etc/nginx/sites-enabled/raining-cards.conf
RUN echo "daemon off;" >> /etc/nginx/nginx.conf
#### Server ####
WORKDIR /app/scaffold/server
......@@ -45,5 +43,5 @@ RUN npm run build
EXPOSE 80
ENTRYPOINT npm run start
ENTRYPOINT /bin/bash -c "service nginx restart && npm run start"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment