housekeeping

This commit is contained in:
2023-01-27 21:57:26 -06:00
parent 8d38af02c6
commit 88d15c1d49
5 changed files with 14 additions and 12 deletions

View File

@@ -3,12 +3,11 @@ LABEL maintainer="Andrew Simonson <asimonson1125@gmail.com>"
WORKDIR /app
ADD ./src /app
COPY ./requirements.txt requirements.txt
RUN apt-get -yq update && \
pip install --no-cache-dir -r requirements.txt
COPY . .
RUN apt-get -yq update && \
pip install --no-cache-dir -r ./src/requirements.txt
WORKDIR /app/src
CMD [ "gunicorn", "-k" , "geventwebsocket.gunicorn.workers.GeventWebSocketWorker", "--bind", "0.0.0.0:8080", "application:app"]