aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 9b08ef4..ba2efbd 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -3,11 +3,11 @@ FROM node:22-alpine AS frontend-builder
WORKDIR /app
COPY frontend/package.json frontend/package-lock.json ./
-RUN npm install
+RUN npm ci
+COPY openapi/openapi.yaml /openapi/openapi.yaml
COPY frontend/ ./
-COPY graphql/schema.graphql src/graphql/schema.graphql
-RUN npm run build
+RUN npm run generate && npm run build
##########################################
FROM golang:1.24 AS backend-builder