19 lines
721 B
Docker
19 lines
721 B
Docker
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 |