Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -13
Dockerfile
CHANGED
|
@@ -1,16 +1,9 @@
|
|
| 1 |
-
FROM python:3.
|
| 2 |
|
| 3 |
-
|
|
|
|
| 4 |
|
|
|
|
|
|
|
| 5 |
|
| 6 |
-
|
| 7 |
-
RUN echo "The value of SS is: $SS"
|
| 8 |
-
|
| 9 |
-
RUN apt-get update && apt-get install -y \
|
| 10 |
-
curl \
|
| 11 |
-
unzip \
|
| 12 |
-
bash \
|
| 13 |
-
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
|
| 14 |
-
&& unzip awscliv2.zip \
|
| 15 |
-
&& ./aws/install \
|
| 16 |
-
&& rm -rf awscliv2.zip
|
|
|
|
| 1 |
+
FROM python:3.11-slim
|
| 2 |
|
| 3 |
+
# Access Hugging Face Space environment variables
|
| 4 |
+
RUN echo "VAR1 is: $VAR1" # This prints the value of VAR1
|
| 5 |
|
| 6 |
+
# Access Hugging Face Space secrets
|
| 7 |
+
RUN echo "SECRET2 is: $SECRET2" # This prints the value of SECRET2
|
| 8 |
|
| 9 |
+
RUN pip install mlflow boto3
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|