diff --git a/Dockerfile b/Dockerfile index 0132378..7871539 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,9 +27,7 @@ RUN addgroup -S nodejs && adduser -S nodejs -G nodejs COPY --from=deps /app/node_modules ./node_modules COPY --from=build /app/dist ./dist COPY --from=build /app/pkg ./pkg +RUN echo '{"type":"commonjs"}' > /app/pkg/package.json EXPOSE 9090 USER nodejs CMD ["node", "dist/index.js"] - - -