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 .
|
COPY yarn.lock .
|
||||||
RUN yarn
|
RUN yarn
|
||||||
|
|
||||||
COPY . ./
|
VOLUME .next
|
||||||
|
|
||||||
|
COPY . ./
|
||||||
RUN yarn run build
|
RUN yarn run build
|
||||||
|
|
||||||
CMD [ "yarn", "run", "start" ]
|
CMD [ "yarn", "run", "start" ]
|
@ -10,8 +10,6 @@ services:
|
|||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
- 80
|
- 80
|
||||||
volumes:
|
|
||||||
- ./.next:/app/.next
|
|
||||||
networks:
|
networks:
|
||||||
- traefik
|
- traefik
|
||||||
labels:
|
labels:
|
||||||
|
Loading…
Reference in New Issue
Block a user