1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-09-19 05:47:17 +03:00
leon/Dockerfile
2019-02-19 08:19:37 +00:00

25 lines
424 B
Docker

FROM node:10-alpine
WORKDIR /app
COPY . .
# Install system packages
RUN apk update --no-cache \
&& apk add --no-cache \
ca-certificates \
build-base \
python3 \
git
# Upgrade pip and install Pipenv
RUN pip3 install --upgrade pip \
&& pip install pipenv
# Install Leon
RUN npm install
RUN npm run build
RUN cd ./bridges/python/ && pipenv install && cd /app
# Let's run it
CMD ["npm", "run", "start"]