build: update deployment for Docker

This commit is contained in:
James Graham
2022-03-17 13:58:07 +00:00
parent ba6701ee67
commit 055e1080dd
9 changed files with 150 additions and 28 deletions

View File

@@ -11,5 +11,7 @@ RUN pip install --no-cache-dir --upgrade pip \
COPY . ./
# USER mapper
ENTRYPOINT [ "/app/entrypoint.sh" ]
CMD [ "gunicorn", "-w", "2", "-b", "0.0.0.0:8000", "breccia_mapper.wsgi" ]