Files
mail-worker/Dockerfile

15 lines
304 B
Docker

FROM node:20-alpine
# Install docker cli to be able to run 'docker exec' from within the container
# Note: You must mount /var/run/docker.sock when running this container
RUN apk add --no-cache docker-cli
WORKDIR /app
COPY package*.json ./
RUN npm install --production
COPY . .
CMD ["npm", "start"]