0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch-backend.git synced 2025-01-03 03:10:05 -05:00

Fix dockerfile

This commit is contained in:
dragongoose 2023-04-27 11:57:59 -04:00
parent 5b42f2c1a0
commit fb0dcefe94
No known key found for this signature in database
GPG key ID: 50DB99B921579009

View file

@ -5,7 +5,7 @@ RUN npm i && npm run build
FROM node:alpine FROM node:alpine
WORKDIR /app WORKDIR /app
COPY --from=builder /app/package.json /app/package-lock.json . COPY --from=builder /app/package.json /app/package-lock.json ./
COPY --from=builder /app/.env . COPY --from=builder /app/.env .
COPY --from=builder /app/dist . COPY --from=builder /app/dist .
RUN npm ci --omit=dev RUN npm ci --omit=dev