Slightly smarter docker front setup

This commit is contained in:
Eliot Berriot 2018-04-16 21:00:56 +02:00
commit 168b2f03d4
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
3 changed files with 3 additions and 1 deletions

View file

@ -4,7 +4,7 @@ EXPOSE 8080
WORKDIR /app/
ADD package.json .
RUN yarn install
VOLUME ["/app/node_modules"]
COPY . .
CMD ["npm", "run", "dev"]