only theia Docker nginx not needed

This commit is contained in:
2021-11-14 11:26:06 +01:00
parent b1620ab5f8
commit 56a8997fee
7 changed files with 14 additions and 15 deletions

19
Dockerfile Normal file
View File

@@ -0,0 +1,19 @@
from theiaide/theia-python:latest
RUN apt-get update \
&& apt-get -y install libgs-dev \
&& rm -rf /var/lib/apt/lists/*
# Install docker for the container to enable access to a docker host if socket is mounted
RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.9.tgz \
&& tar -xvf docker-20.10.9.tgz docker/docker && cp docker/docker /usr/bin/
# Install Python requirements to support development
COPY ./config/requirements.txt .
run pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& pip3 install pytest pylint bandit flake8 black pytest-django six pytest-mock
#ENTRYPOINT node /home/theia/src-gen/backend/main.js /home/project/ --hostname=0.0.0.0