docker-file.txt
HOST=0.0.0.0 node dist/server/entry.mjs --host $HOST
FROM node:18.17.1-alpine3.18 AS baseFROM base AS buildENV NPM_CONFIG_UPDATE_NOTIFIER falseENV NPM_CONFIG_FUND falseWORKDIR /appCOPY package.json yarn.lock ./COPY prisma ./prisma/RUN yarn installCOPY src ./srcRUN yarn buildRUN npm prune --omit=devFROM base AS runWORKDIR /appCOPY --from=build /app/node_modules/ ./node_modulesCOPY --from=build /app/dist/ ./distCOPY --from=build /app/package.json ./CMD yarn start