🚧 Dockerfile changes again

This commit is contained in:
Axel Olausson Holtenäs 2022-10-23 17:36:50 +02:00
parent dc102a353e
commit b4e5134983
No known key found for this signature in database
GPG key ID: BEDBB4D61E6C8462

View file

@ -22,14 +22,11 @@ FROM node:19
WORKDIR /usr
COPY package*.json ./
COPY dist ./dist/
RUN npm install --omit=dev
COPY --from=builder /usr/package*.json ./
COPY --from=builder /usr/dist ./dist
RUN npm install --omit=dev
CMD ["node","dist/index.js"]