Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
backjonas committed Dec 10, 2024
1 parent fda3cea commit ff6fea1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
FROM node:18.16-alpine3.18 AS builder
WORKDIR /app

COPY package-lock.json backend/package.json ./
COPY package-lock.json package.json ./
RUN npm ci
COPY backend ./
COPY tsconfig.json ./
COPY src ./src
RUN npm run build

FROM node:18.16-alpine3.18 AS runner
Expand Down

0 comments on commit ff6fea1

Please sign in to comment.