Spaces:
Running
Running
Commit
·
3b36921
1
Parent(s):
3f07b22
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -7,6 +7,6 @@ COPY ./requirements.txt /code/requirements.txt
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY ./main.py /code/app/main.py
|
10 |
-
RUN --mount=type=secret,
|
11 |
|
12 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|
|
|
7 |
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
8 |
|
9 |
COPY ./main.py /code/app/main.py
|
10 |
+
RUN --mount=type=secret,id=EXAMPLE,required=true cat /run/secrets/EXAMPLE > /test
|
11 |
|
12 |
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7860"]
|