From 73ad8f96d7df116bcca6e446691ee768a9138d60 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 15 Feb 2026 17:33:37 +0900 Subject: fix(docker): update Dockerfile for REST API migration Replace obsolete graphql schema copy with openapi spec, add type generation step before frontend build, and use npm ci for reproducibility. --- Dockerfile | 6 +++--- 1 file 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 -- cgit v1.3-1-g0d28