mirror of
https://github.com/cupcakearmy/fantus.git
synced 2025-09-05 13:40:39 +00:00
cache build and remove mounted volume
This commit is contained in:
@@ -6,8 +6,9 @@ COPY package.json .
|
||||
COPY yarn.lock .
|
||||
RUN yarn
|
||||
|
||||
COPY . ./
|
||||
VOLUME .next
|
||||
|
||||
COPY . ./
|
||||
RUN yarn run build
|
||||
|
||||
CMD [ "yarn", "run", "start" ]
|
Reference in New Issue
Block a user