mirror of
https://github.com/Southampton-RSG/breccia-mapper.git
synced 2026-03-03 03:17:07 +00:00
16 lines
369 B
Docker
16 lines
369 B
Docker
FROM python:3.8-slim
|
|
|
|
RUN groupadd -r mapper && useradd --no-log-init -r -g mapper mapper
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt ./
|
|
|
|
RUN pip install --no-cache-dir --upgrade pip \
|
|
&& pip install --no-cache-dir -r /app/requirements.txt gunicorn
|
|
|
|
COPY . ./
|
|
|
|
ENTRYPOINT [ "/app/entrypoint.sh" ]
|
|
CMD [ "gunicorn", "-w", "2", "-b", "0.0.0.0:8000", "breccia_mapper.wsgi" ]
|