pastel.codes/Dockerfile
2024-04-29 15:30:13 +01:00

14 lines
246 B
Docker

FROM node:16-bullseye-slim
ENV IS_DOCKER=true
ENV NODE_ENV=production
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install --omit=dev
RUN npm install nodemon
COPY . .
RUN npm run build-tailwind
CMD [ "npm", "start" ]