CoreID/Dockerfile

17 lines
196 B
Docker
Raw Normal View History

2022-06-26 01:55:06 +00:00
FROM node:14
RUN mkdir /app
COPY package.json /app
COPY yarn.lock /app
RUN cd /app && yarn install
COPY . /app
RUN rm -rf /app/.env
RUN touch /app/.env
WORKDIR /app
CMD ["node", "index.js"]