created wrapper.sh to also run pa_job_manager in paweb container, exposed port 55432, have not tested that the job manager is connectable and we prob. should not expose that port in the long run, but for another night

This commit is contained in:
2021-03-03 20:33:51 +11:00
parent 8074225a60
commit df954e1e1a
2 changed files with 6 additions and 1 deletions

View File

@@ -16,5 +16,6 @@ COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt
RUN pip3 install --upgrade pillow --user
EXPOSE 443
EXPOSE 55432
COPY . .
CMD ["gunicorn", "--bind=0.0.0.0:443", "--workers=2","--threads=2", "--certfile", "/etc/letsencrypt/live/pa.depaoli.id.au/fullchain.pem", "--keyfile", "/etc/letsencrypt/live/pa.depaoli.id.au/privkey.pem","main:app"]
CMD ["./wrapper.sh"]