Skip to content

Commit

Permalink
Updated Ports for gunicorn_config.py
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoooo committed Apr 18, 2023
1 parent cad35b2 commit 0079ebe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ COPY --chown=appuser:appuser . /home/appuser/datachecks
RUN python -m venv /home/appuser/datachecks/venv
ENV PATH="/home/appuser/datachecks/venv/bin:$PATH"
RUN pip install wheel
RUN pip install --upgrade pip
RUN pip install .
# clone datacheck app
ENV DATACHECK_CONFIG_PATH="/home/appuser/datachecks/config.yaml"
RUN git clone https://github.com/Ensembl/ensembl-datacheck.git

EXPOSE 5001
CMD ["gunicorn", "--config", "/home/appuser/datachecks/gunicorn_config.py", "-b", "0.0.0.0:5001", "ensembl.production.datacheck.app.main:app"]
CMD ["gunicorn", "--config", "/home/appuser/datachecks/gunicorn_config.py", "ensembl.production.datacheck.app.main:app"]

0 comments on commit 0079ebe

Please sign in to comment.