Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +0 -4
Dockerfile
CHANGED
|
@@ -13,9 +13,5 @@ COPY mcq_validator.py .
|
|
| 13 |
RUN --mount=type=secret,id=VALIDATE_KEY,mode=0444,required=true \
|
| 14 |
cat /run/secrets/VALIDATE_KEY > /test
|
| 15 |
|
| 16 |
-
# Get secret SECRET_EXAMPLE and clone it as repo at buildtime
|
| 17 |
-
RUN --mount=type=secret,id=VALIDATE_KEY,mode=0444,required=true \
|
| 18 |
-
git clone $(cat /run/secrets/VALIDATE_KEY)
|
| 19 |
-
|
| 20 |
EXPOSE 7860
|
| 21 |
CMD ["python", "app.py"]
|
|
|
|
| 13 |
RUN --mount=type=secret,id=VALIDATE_KEY,mode=0444,required=true \
|
| 14 |
cat /run/secrets/VALIDATE_KEY > /test
|
| 15 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 16 |
EXPOSE 7860
|
| 17 |
CMD ["python", "app.py"]
|