From a499379628d7357243745f2803128ec036b6df0d Mon Sep 17 00:00:00 2001 From: Sandro Mani Date: Tue, 12 Dec 2023 19:10:54 +0100 Subject: [PATCH] Move source files to src --- Dockerfile | 4 +++- server.py => src/server.py | 0 server.wsgi => src/server.wsgi | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename server.py => src/server.py (100%) rename server.wsgi => src/server.wsgi (100%) diff --git a/Dockerfile b/Dockerfile index efed2e3..9d114db 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ FROM sourcepole/qwc-uwsgi-base:alpine-v2023.10.26 -ADD . /srv/qwc_service +ADD requirements.txt /srv/qwc_service/requirements.txt # git: Required for pip with git repos RUN \ @@ -8,4 +8,6 @@ RUN \ pip3 install --no-cache-dir -r /srv/qwc_service/requirements.txt && \ apk del build-deps +ADD src /srv/qwc_service/ + ENV SERVICE_MOUNTPOINT=/api/v1/ext diff --git a/server.py b/src/server.py similarity index 100% rename from server.py rename to src/server.py diff --git a/server.wsgi b/src/server.wsgi similarity index 100% rename from server.wsgi rename to src/server.wsgi