Skip to content

Commit

Permalink
Improve install sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
csaudiodesign committed Dec 10, 2023
1 parent 0d43b25 commit b79a4a3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
FROM python:3.10.13
WORKDIR /batdetect2_gui
COPY ./batdetect2_gui /batdetect2_gui
RUN mkdir -p /batdetect2_gui
COPY ./requirements.txt /batdetect2_gui/requirements.txt
COPY ./credentials.py /batdetect2_gui/credentials.py
RUN pip install -U pip
RUN pip install --no-cache-dir -r /batdetect2_gui/requirements.txt
COPY ./batdetect2_gui /batdetect2_gui
COPY ./credentials.py /batdetect2_gui/credentials.py
CMD ["gunicorn", "application:application", "--bind", "0.0.0.0"]

0 comments on commit b79a4a3

Please sign in to comment.