17 lines
196 B
Docker
17 lines
196 B
Docker
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"]
|