use build package

This commit is contained in:
2025-03-18 21:47:15 -05:00
parent 96b9d3210c
commit 9722c4f992
4 changed files with 29 additions and 185 deletions

View File

@@ -5,11 +5,11 @@ WORKDIR /build
COPY ./package*json ./
RUN npm ci
COPY . .
RUN node --experimental-strip-types build.ts && \
RUN npm run build && \
npm exec tsc && \
npm ci --only=production --omit=dev
FROM base as deploy
FROM base AS deploy
WORKDIR /srv/archery