small fixes to build
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
#/bin/bash
|
||||
export REGISTRY="docker.triton2.fet.at"
|
||||
|
||||
# Build a development Image with Theia and all content
|
||||
#docker build --no-cache -f Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
|
||||
#docker push $REGISTRY/dev_nginx:latest
|
||||
# build a small nginx image to handle routing of /dev and other services
|
||||
docker build --no-cache -f dockerfiles/Dockerfile.nginx -t $REGISTRY/dev_nginx:latest .
|
||||
docker push $REGISTRY/dev_nginx:latest
|
||||
|
||||
docker build --no-cache -f Dockerfile.theia -t $REGISTRY/dev_theia:latest .
|
||||
# Build a development Image with Theia and all content
|
||||
docker build --no-cache -f dockerfiles/Dockerfile.theia -t $REGISTRY/dev_theia:latest .
|
||||
docker push $REGISTRY/dev_theia:latest
|
||||
@@ -10,7 +10,7 @@ RUN wget https://download.docker.com/linux/static/stable/x86_64/docker-20.10.2.t
|
||||
|
||||
|
||||
# Install Python requirements to support development
|
||||
COPY ./requirements.txt .
|
||||
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
|
||||
Reference in New Issue
Block a user