mirror of
https://github.com/leon-ai/leon.git
synced 2024-12-25 09:44:22 +03:00
Merge branch 'fix/docker-issues-with-ssl' into develop
This commit is contained in:
commit
38693e42ef
@ -1,3 +1,9 @@
|
|||||||
node_modules/
|
__pycache__/
|
||||||
bridges/python/src/.venv/*
|
**/dist/*
|
||||||
dist/*
|
**/build/
|
||||||
|
**/node_modules/
|
||||||
|
**/tmp/*
|
||||||
|
**/src/.venv/*
|
||||||
|
logs/*
|
||||||
|
*.pyc
|
||||||
|
.DS_Store
|
||||||
|
43
Dockerfile
43
Dockerfile
@ -1,4 +1,4 @@
|
|||||||
FROM ubuntu:latest
|
FROM ubuntu:20.04
|
||||||
ENV IS_DOCKER true
|
ENV IS_DOCKER true
|
||||||
|
|
||||||
# Replace shell with bash so we can source files
|
# Replace shell with bash so we can source files
|
||||||
@ -10,23 +10,28 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
# Install base dependencies
|
# Install base dependencies
|
||||||
RUN apt-get update && apt-get install --yes -q --no-install-recommends \
|
RUN apt-get update && apt-get install --yes -q --no-install-recommends \
|
||||||
apt-transport-https \
|
apt-transport-https \
|
||||||
build-essential \
|
build-essential \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
git \
|
git \
|
||||||
wget \
|
wget \
|
||||||
libssl-dev \
|
libssl-dev \
|
||||||
zlib1g-dev \
|
openssl \
|
||||||
libbz2-dev \
|
libz-dev \
|
||||||
libreadline-dev \
|
zlib1g-dev \
|
||||||
libsqlite3-dev \
|
libbz2-dev \
|
||||||
llvm \
|
libreadline-dev \
|
||||||
libncurses5-dev \
|
libsqlite3-dev \
|
||||||
xz-utils \
|
llvm \
|
||||||
tk-dev libxml2-dev \
|
libncurses5-dev \
|
||||||
libxmlsec1-dev \
|
xz-utils \
|
||||||
libffi-dev \
|
tk-dev libxml2-dev \
|
||||||
liblzma-dev
|
libxmlsec1-dev \
|
||||||
|
libffi-dev \
|
||||||
|
liblzma-dev \
|
||||||
|
libgdbm-dev \
|
||||||
|
libnss3-dev \
|
||||||
|
libc6-dev
|
||||||
|
|
||||||
# Run the container as an unprivileged user
|
# Run the container as an unprivileged user
|
||||||
RUN groupadd docker && useradd -g docker -s /bin/bash -m docker
|
RUN groupadd docker && useradd -g docker -s /bin/bash -m docker
|
||||||
@ -41,7 +46,7 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | b
|
|||||||
RUN /bin/bash -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION"
|
RUN /bin/bash -c "source $NVM_DIR/nvm.sh && nvm install $NODE_VERSION && nvm use --delete-prefix $NODE_VERSION"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/versions/node/$NODE_VERSION/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/versions/node/$NODE_VERSION/lib/node_modules
|
||||||
ENV PATH $NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH
|
ENV PATH $NVM_DIR/versions/node/$NODE_VERSION/bin:$PATH
|
||||||
|
|
||||||
# Install Leon
|
# Install Leon
|
||||||
WORKDIR /home/docker/leon
|
WORKDIR /home/docker/leon
|
||||||
|
Loading…
Reference in New Issue
Block a user