check-deploy
Some checks failed
deploy / deploy (push) Failing after 1m27s

This commit is contained in:
2024-02-03 18:36:33 +03:00
parent 59a1f8c902
commit 15fd6ec765
5 changed files with 41 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ FROM python:slim
WORKDIR /app
# Add metadata to the image to describe that the container is listening on port 80
EXPOSE 80
EXPOSE 8000
# Copy the current directory contents into the container at /app
COPY . /app
@@ -19,4 +19,4 @@ RUN apt-get update && apt-get install -y gcc curl && \
poetry install --no-dev
# Run server.py when the container launches
CMD granian --no-ws --host 0.0.0.0 --port 80 --interface asgi main:app
CMD python server.py