Verified Commit 168b2f03 authored by Agate's avatar Agate 💬

Slightly smarter docker front setup

parent 7c9412f6
......@@ -13,6 +13,7 @@ services:
- "${WEBPACK_DEVSERVER_PORT_BINDING-8080:}${WEBPACK_DEVSERVER_PORT-8080}"
volumes:
- './front:/app'
- '/app/node_modules'
- './po:/po'
networks:
- federation
......
......@@ -4,7 +4,7 @@ EXPOSE 8080
WORKDIR /app/
ADD package.json .
RUN yarn install
VOLUME ["/app/node_modules"]
COPY . .
CMD ["npm", "run", "dev"]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment