Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -13,7 +13,8 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
|
|
13 |
python3-pip \
|
14 |
ninja-build \
|
15 |
libopenblas-dev \
|
16 |
-
build-essential
|
|
|
17 |
|
18 |
WORKDIR /app
|
19 |
|
@@ -48,6 +49,7 @@ ENV HOME=/home/user \
|
|
48 |
#RUN chmod -R 755 $HOME/app
|
49 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
50 |
COPY --chown=user . $HOME/app
|
|
|
51 |
#CMD ["python3", "-m", "app"]
|
52 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
53 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
13 |
python3-pip \
|
14 |
ninja-build \
|
15 |
libopenblas-dev \
|
16 |
+
build-essential \
|
17 |
+
sqlite3
|
18 |
|
19 |
WORKDIR /app
|
20 |
|
|
|
49 |
#RUN chmod -R 755 $HOME/app
|
50 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
51 |
COPY --chown=user . $HOME/app
|
52 |
+
|
53 |
#CMD ["python3", "-m", "app"]
|
54 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
55 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|