fix(docker): optimize build times
This commit is contained in:
parent
77f4c5e5da
commit
ec56ff7c8a
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
FROM docker.io/library/node:18-alpine
|
||||
WORKDIR /app
|
||||
COPY . .
|
||||
COPY package.json yarn.lock ./
|
||||
RUN yarn install --frozen-lockfile
|
||||
COPY . .
|
||||
CMD [ "yarn", "start" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue