pastel.codes/Dockerfile
E de6ab6277b
Fix incorrect command and split into several runs (#19)
* Change node version in Dockerfile and steps

* Change name of scripts in package.json
2021-09-11 22:07:23 +01:00

14 lines
225 B
Docker

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