commit bdd6c70f5f3693ca5f6ca5b850d8898c8c95a290
parent 074954e90af689edc3060cdc1329552abfd719c0
Author: Konstantin Tarkus <hello@tarkus.me>
Date: Tue, 20 Dec 2016 17:31:55 +0300
Update working directory in Dockerfile (ref #1038)
Diffstat:
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/Dockerfile b/Dockerfile
@@ -1,8 +1,10 @@
FROM node:7.2.1-alpine
-COPY ./build /srv/www
-WORKDIR /srv/www
+# Copy applicaiton files
+COPY ./build /usr/src/app
+WORKDIR /usr/src/app
+# Install Node.js dependencies
RUN npm install --production --silent
CMD [ "node", "server.js" ]