Await task HistoricalPriceTask._load() and adjust Dockerfile to expose

port 1337
This commit is contained in:
dsc 2020-12-22 19:29:17 +01:00
parent 134d897b8a
commit 28fdf41aad
2 changed files with 3 additions and 2 deletions

View file

@ -7,4 +7,4 @@ RUN pip install -r requirements.txt
COPY . .
EXPOSE 1337
CMD ["hypercorn", "--access-logfile", "-", "--workers", "1", "--bind", "0.0.0.0:18200", "asgi:app"]
CMD ["hypercorn", "--access-logfile", "-", "--workers", "1", "--bind", "0.0.0.0:1337", "asgi:app"]