Spaces:
Runtime error
Runtime error
add secret to Dockerfile
Browse files- Dockerfile +1 -0
Dockerfile
CHANGED
@@ -1,6 +1,7 @@
|
|
1 |
FROM python:3.10
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt .
|
|
|
4 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
5 |
COPY . .
|
6 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
1 |
FROM python:3.10
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt .
|
4 |
+
RUN --mount=type=secret,id=xlwnjlq93dru3lakgbpit7f7l
|
5 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
6 |
COPY . .
|
7 |
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|