backend/Dockerfile

18 lines
197 B
Docker
Raw Permalink Normal View History

2022-06-26 02:42:00 +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"]