Refactor for long callbacks on data collection
This commit is contained in:
10
Dockerfile
10
Dockerfile
@@ -2,10 +2,16 @@ FROM python:3.10
|
||||
|
||||
RUN apt update && apt install libpq-dev
|
||||
|
||||
COPY . .
|
||||
COPY pyproject.toml pyproject.toml
|
||||
COPY poetry.lock poetry.lock
|
||||
|
||||
RUN python -m pip install poetry && \
|
||||
poetry config virtualenvs.create false && \
|
||||
poetry install
|
||||
|
||||
CMD ./serve.sh
|
||||
|
||||
COPY wordlinator/ wordlinator/
|
||||
|
||||
EXPOSE 8050
|
||||
|
||||
CMD gunicorn --workers 8 -b "0.0.0.0:8050" "wordlinator.web:server"
|
||||
|
||||
Reference in New Issue
Block a user