emmarosess commited on
Commit
f6f42df
·
verified ·
1 Parent(s): b439b9c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -13
Dockerfile CHANGED
@@ -1,16 +1,9 @@
1
- FROM python:3.8-slim
2
 
3
- RUN echo "This is an example file"
 
4
 
 
 
5
 
6
- # Access secret from the environment variable
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