2020-08-12 13:32:28 +03:00
|
|
|
FROM node:12
|
2019-07-18 16:22:56 +03:00
|
|
|
WORKDIR /app
|
|
|
|
|
2020-10-03 10:02:38 +03:00
|
|
|
COPY package.json yarn.lock ./
|
|
|
|
RUN yarn && yarn cache clean --force
|
2019-07-18 16:22:56 +03:00
|
|
|
COPY . .
|
|
|
|
|
|
|
|
EXPOSE 8000
|
2020-10-03 10:02:38 +03:00
|
|
|
# HEALTHCHECK CMD curl -f http://localhost:8000/status
|
|
|
|
ENTRYPOINT ["yarn"]
|
|
|
|
CMD ["server"]
|