2021-11-07 05:24:00 +03:00
|
|
|
FROM node:16-alpine
|
2019-06-06 04:06:48 +03:00
|
|
|
ENV IS_DOCKER true
|
2019-02-12 16:25:02 +03:00
|
|
|
WORKDIR /app
|
|
|
|
|
2019-02-12 17:57:53 +03:00
|
|
|
# Install system packages
|
2019-05-11 17:07:07 +03:00
|
|
|
RUN apk add --no-cache --no-progress \
|
2021-11-07 05:24:00 +03:00
|
|
|
ca-certificates \
|
|
|
|
py3-pip \
|
|
|
|
git \
|
|
|
|
tzdata
|
2019-02-12 16:25:02 +03:00
|
|
|
|
2019-02-12 17:57:53 +03:00
|
|
|
# Upgrade pip and install Pipenv
|
2019-05-11 17:07:07 +03:00
|
|
|
RUN pip3 install --no-cache-dir --progress-bar off pipenv
|
|
|
|
|
2019-02-12 16:25:02 +03:00
|
|
|
# Install Leon
|
2021-04-05 18:47:34 +03:00
|
|
|
COPY ./ ./
|
2021-11-07 05:24:00 +03:00
|
|
|
RUN npm install
|
2019-02-12 16:25:02 +03:00
|
|
|
RUN npm run build
|
2019-02-19 11:19:37 +03:00
|
|
|
|
2019-02-23 16:27:28 +03:00
|
|
|
CMD ["npm", "start"]
|