chore: Add copy-schema script, update Dockerfile schema path, and adjust npm prod workflow

This commit is contained in:
Andreas Hilbig 2026-01-14 10:28:33 +01:00
parent 70e64448e5
commit 437321ef6d
3 changed files with 71 additions and 51 deletions

View file

@ -17,10 +17,9 @@ ARG API_VERSION
ENV API_VERSION=${API_VERSION}
WORKDIR /usr/app
COPY package*.json ./
COPY schema ./
RUN npm install --production
COPY --from=builder /usr/app/dist ./dist
CMD node dist/index.js
ADD schema ./dist/schema
CMD node ./dist/index.js
EXPOSE 4000