Spaces:
Running
Running
Harun
commited on
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -2,7 +2,7 @@ FROM python:3.10-slim
|
|
2 |
|
3 |
# Add build argument
|
4 |
# ARG HUGGINGFACE_API_KEY
|
5 |
-
ENV HUGGINGFACE_API_KEY=${HUGGINGFACE_API_KEY}
|
6 |
|
7 |
# System dependencies
|
8 |
RUN apt-get update && apt-get install -y \
|
@@ -40,4 +40,4 @@ RUN --mount=type=secret,id=HUGGINGFACE_API_KEY \
|
|
40 |
EXPOSE 7860
|
41 |
|
42 |
# Run the application
|
43 |
-
CMD ["python", "main.py"]
|
|
|
2 |
|
3 |
# Add build argument
|
4 |
# ARG HUGGINGFACE_API_KEY
|
5 |
+
# ENV HUGGINGFACE_API_KEY=${HUGGINGFACE_API_KEY}
|
6 |
|
7 |
# System dependencies
|
8 |
RUN apt-get update && apt-get install -y \
|
|
|
40 |
EXPOSE 7860
|
41 |
|
42 |
# Run the application
|
43 |
+
CMD ["python", "main.py"]
|