DenisSlider2000/dockerfile

16 lines
217 B
Plaintext
Raw Normal View History

2022-04-09 00:32:32 +02:00
FROM node:16
WORKDIR /docker
COPY package.json ./
COPY yarn.lock ./
RUN yarn
COPY . .
2022-04-13 13:26:33 +02:00
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
2022-04-09 00:32:32 +02:00
CMD ["node", "index.js"]