Skip to content

Commit

Permalink
Just copy everything to ensure we can determine the version
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed Dec 18, 2023
1 parent e56aa0d commit 4b28b09
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 4b28b09

Please sign in to comment.