Skip to content

Commit

Permalink
fix: updates dockerfile to locate index.html (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
jtyoung84 authored Mar 22, 2024
1 parent bfb5904 commit 96a20f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ Setup = /usr/lib/x86_64-linux-gnu/odbc/libtdsS.so" >> /etc/odbcinst.ini
ADD src ./src
ADD pyproject.toml .
ADD setup.py .
RUN pip install .[server]

# Pip command. Without '-e' flag, index.html isn't found. There's probably a
# better way to add the static html files to the site-packages.
RUN pip install -e .[server] --no-cache-dir

CMD ["uvicorn", "aind_metadata_service.server:app", "--host", "0.0.0.0", "--port", "5000"]

0 comments on commit 96a20f9

Please sign in to comment.