diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:33:37 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-15 17:33:37 +0900 |
| commit | 73ad8f96d7df116bcca6e446691ee768a9138d60 (patch) | |
| tree | 20e6a53659d663c4a80d826606f859f35d1fea22 /Dockerfile | |
| parent | 2be44495a92dd9c1b1c65db24639eec250c510e8 (diff) | |
| download | feedaka-73ad8f96d7df116bcca6e446691ee768a9138d60.tar.gz feedaka-73ad8f96d7df116bcca6e446691ee768a9138d60.tar.zst feedaka-73ad8f96d7df116bcca6e446691ee768a9138d60.zip | |
fix(docker): update Dockerfile for REST API migrationv0.7.1
Replace obsolete graphql schema copy with openapi spec, add type
generation step before frontend build, and use npm ci for reproducibility.
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |
