Add missing copy directives in build stage

This commit is contained in:
Maciej Pędzich 2024-07-22 09:23:21 +02:00
parent f4295f7c57
commit 0f72ee76b8
Signed by: maciejpedzich
GPG Key ID: CE4A303D84882F0D

View File

@ -1,7 +1,8 @@
FROM node:lts-alpine AS build
WORKDIR /app
COPY . .
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM node:lts-alpine AS runtime