diff --git a/Dockerfile b/Dockerfile index 34342df3..2f2c5ccc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,7 @@ COPY requirements.txt . RUN pip install --no-cache-dir --upgrade pip wheel RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt -COPY pyproject.toml . -COPY src/ . +COPY . . RUN pip install '.' CMD ["uvicorn", "nsls2api.main:api", "--proxy-headers", "--host", "0.0.0.0", "--port", "8080", "--workers", "4", "--ssl-keyfile=/etc/nsls2/tls/server.key", "--ssl-certfile=/etc/nsls2/tls/server.cer"]