From da52e4b6e4dc57805ef90cc2f6e99d06cde1b111 Mon Sep 17 00:00:00 2001 From: Chris Hines <chris.hines@monash.edu> Date: Thu, 20 Jan 2022 22:42:46 +1100 Subject: [PATCH] try this --- Dockerfile | 2 +- requirements.txt | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 203833c..b724606 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ FROM ubuntu WORKDIR /opt/strudel2/src COPY . /opt/strudel2/src RUN apt update && apt install -y python3 gcc python3-pip openssh-client -RUN pip3 install -r requirements.txt && python3 ./setup.py install +RUN pip3 install -r requirements.txt && pip install . RUN mkdir -p /var/www/.ssh && chown www-data:www-data /var/www/.ssh && chmod 700 /var/www/.ssh EXPOSE 8080 8090 CMD ["./runscript"] diff --git a/requirements.txt b/requirements.txt index 5193a1b..c5e8cb0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14,7 +14,6 @@ pip==21.3.1 pytz==2021.3 requests==2.27.1 requests-oauthlib==1.3.0 -setuptools==60.5.0 six==1.16.0 SQLAlchemy==1.4.30 urllib3==1.26.8 -- GitLab