mirror of
https://github.com/cupcakearmy/fantus.git
synced 2024-11-01 04:54:13 +01:00
cache build and remove mounted volume
This commit is contained in:
parent
70b70f2d09
commit
052384ed02
@ -6,8 +6,9 @@ COPY package.json .
|
||||
COPY yarn.lock .
|
||||
RUN yarn
|
||||
|
||||
COPY . ./
|
||||
VOLUME .next
|
||||
|
||||
COPY . ./
|
||||
RUN yarn run build
|
||||
|
||||
CMD [ "yarn", "run", "start" ]
|
@ -10,8 +10,6 @@ services:
|
||||
build: .
|
||||
ports:
|
||||
- 80
|
||||
volumes:
|
||||
- ./.next:/app/.next
|
||||
networks:
|
||||
- traefik
|
||||
labels:
|
||||
|
Loading…
Reference in New Issue
Block a user