This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user