From 4b28b099711446f4c72288f9122508f6e4815136 Mon Sep 17 00:00:00 2001 From: Stuart Campbell Date: Mon, 18 Dec 2023 17:44:39 -0500 Subject: [PATCH] Just copy everything to ensure we can determine the version --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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"]