mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-18 06:11:34 +03:00
2f66f1c17b
BREAKING CHANGE: minimum supported Node.js v16.0.0 and npm v8.0.0
21 lines
342 B
Docker
21 lines
342 B
Docker
FROM node:16-alpine
|
|
ENV IS_DOCKER true
|
|
WORKDIR /app
|
|
|
|
# Install system packages
|
|
RUN apk add --no-cache --no-progress \
|
|
ca-certificates \
|
|
py3-pip \
|
|
git \
|
|
tzdata
|
|
|
|
# Upgrade pip and install Pipenv
|
|
RUN pip3 install --no-cache-dir --progress-bar off pipenv
|
|
|
|
# Install Leon
|
|
COPY ./ ./
|
|
RUN npm install
|
|
RUN npm run build
|
|
|
|
CMD ["npm", "start"]
|