pastel.codes/dockerfile
Esther 418552349d
Updated dockerfile
Uses git rather than copying. Made it more portable :3
2021-02-19 16:12:06 +00:00

12 lines
216 B
Plaintext

FROM node:15.8.0
ENV IS_DOCKER=true
ENV NODE_ENV=production
RUN git clone https://github.com/BlankFaces/pastel.codes.git
WORKDIR pastel.codes
RUN npm install && npm install nodemon
COPY . .
CMD [ "npm", "start" ]