diff --git a/Dockerfile b/Dockerfile index c386f71..e24cac1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,11 +1,11 @@ # Use an official Python runtime as a base image -FROM python:3.9 +FROM python:3.11 # Set the working directory in the container WORKDIR /app # Copy the requirements file into the container at /app -COPY requirements.txt /app/ +COPY api/requirements.txt /app/ # Install any needed packages specified in requirements.txt RUN pip install --no-cache-dir -r requirements.txt @@ -17,4 +17,6 @@ COPY . /app/ EXPOSE 8090 # Run Uvicorn when the container launches -CMD ["uvicorn", "api.asgi:api", "--host", "0.0.0.0", "--port", "8090", "--reload"] +# CMD ["uvicorn", "api.asgi:api", "--host", "0.0.0.0", "--port", "8090", "--reload"] + +# CMD ["python", "api/asgi.py"]