Fix paths in Dockerfile

This commit is contained in:
Fergal Moran
2022-04-11 12:35:24 +01:00
parent bafb8db596
commit 937fb7ff32

View File

@@ -1,7 +1,7 @@
FROM python:3.9
WORKDIR /code
COPY ../requirements.txt /code/requirements.txt
COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
COPY ../server /code/server
COPY ./server /code/server
CMD ["uvicorn", "server.api:app", "--proxy-headers", "--host", "0.0.0.0", "--port", "80"]