pastel.codes/Dockerfile

14 lines
225 B
Docker
Raw Normal View History

FROM node:16.8.0
2021-02-14 21:56:24 +00:00
2021-02-15 01:45:26 +00:00
ENV IS_DOCKER=true
ENV NODE_ENV=production
2021-02-15 02:30:46 +00:00
2021-02-19 16:18:43 +00:00
WORKDIR /app
COPY ["package.json", "package-lock.json*", "./"]
RUN npm install
RUN npm install nodemon
2021-02-14 21:56:24 +00:00
COPY . .
RUN npm run build-tailwind
2021-02-14 21:56:24 +00:00
2021-02-19 16:52:07 +00:00
CMD [ "npm", "start" ]