fix(docker): optimize build times

This commit is contained in:
Sefa Eyeoglu 2022-06-14 12:06:58 +02:00
parent 77f4c5e5da
commit ec56ff7c8a
No known key found for this signature in database
GPG key ID: C10411294912A422

View file

@ -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" ]