aboutsummaryrefslogtreecommitdiff
path: root/gerboweb/Containerfile
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-07-11 10:21:07 +0000
committerjaseg <git@jaseg.de>2022-07-11 10:21:07 +0000
commit869fd09ad93c64a65b5d1f527ec295da940a26aa (patch)
treebc962fdae15d76997ef6f2dbe8543ac1c0cc99d6 /gerboweb/Containerfile
parent00de98d5e3bc836715d04b7d8b8934389062f63d (diff)
downloadgerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.tar.gz
gerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.tar.bz2
gerbolyze-869fd09ad93c64a65b5d1f527ec295da940a26aa.zip
gerboweb: fix deployment for new gerbolyzetsugi-dev
Diffstat (limited to 'gerboweb/Containerfile')
-rw-r--r--gerboweb/Containerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/gerboweb/Containerfile b/gerboweb/Containerfile
index 5733b48..e8a33f2 100644
--- a/gerboweb/Containerfile
+++ b/gerboweb/Containerfile
@@ -12,7 +12,8 @@ RUN --mount=type=bind,rw,destination=/git \
python3 -m pip --disable-pip-version-check install .
RUN mkdir /gerboweb
ADD ["gerboweb/uwsgi-gerboweb.ini","gerboweb/gerboweb.py","gerboweb/job_processor.py","gerboweb/job_queue.py","/gerboweb/"]
-ADD ["gerboweb/static","/gerboweb/"]
-ADD ["gerboweb/templates","/gerboweb/"]
+ADD ["gerboweb/static","/gerboweb/static"]
+ADD ["gerboweb/templates","/gerboweb/templates"]
ADD gerboweb/gerboweb_prod.cfg /gerboweb/gerboweb.cfg
+RUN mkdir /var/cache/gerboweb
ENTRYPOINT uwsgi --ini /gerboweb/uwsgi-gerboweb.ini --chmod-socket=660 --socket=/run/uwsgi/socket