Skip to content
Snippets Groups Projects
Verified Commit 168b2f03 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

Slightly smarter docker front setup

parent 7c9412f6
No related branches found
No related tags found
No related merge requests found
......@@ -13,6 +13,7 @@ services:
- "${WEBPACK_DEVSERVER_PORT_BINDING-8080:}${WEBPACK_DEVSERVER_PORT-8080}"
volumes:
- './front:/app'
- '/app/node_modules'
- './po:/po'
networks:
- federation
......
node_modules
......@@ -4,7 +4,7 @@ EXPOSE 8080
WORKDIR /app/
ADD package.json .
RUN yarn install
VOLUME ["/app/node_modules"]
COPY . .
CMD ["npm", "run", "dev"]
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