express-postgresjs.dockerfile 145 B

123456789101112
  1. FROM node:20.16-slim
  2. COPY ./ ./
  3. RUN npm install
  4. ENV NODE_ENV production
  5. ENV DATABASE postgres
  6. EXPOSE 8080
  7. CMD ["node", "src/clustered.mjs"]