1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-11 18:27:21 +03:00
leon/Dockerfile

21 lines
342 B
Docker
Raw Normal View History

FROM node:16-alpine
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
RUN apk add --no-cache --no-progress \
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
RUN pip3 install --no-cache-dir --progress-bar off pipenv
2019-02-12 16:25:02 +03:00
# Install Leon
COPY ./ ./
RUN npm install
2019-02-12 16:25:02 +03:00
RUN npm run build
2019-02-23 16:27:28 +03:00
CMD ["npm", "start"]