Skip to content

Commit

Permalink
Add line to actually install package
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartcampbell committed Oct 16, 2023
1 parent d71a144 commit 147c630
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ COPY ./requirements.txt /code/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt

COPY ./nsls2api /code/nsls2api
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"]

0 comments on commit 147c630

Please sign in to comment.