Rhodham96 commited on
Commit
2b122b9
·
verified ·
1 Parent(s): 0120bb1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -1
Dockerfile CHANGED
@@ -4,7 +4,11 @@ FROM python:3.10-slim-buster
4
  # Définir le répertoire de travail dans le conteneur
5
  WORKDIR /app
6
 
7
- # Set the pgeocode cache directory as an environment variable for the container
 
 
 
 
8
  ENV PGEOCODE_CACHE_DIR /tmp/pgeocode
9
 
10
  # Copier les fichiers de requirements
 
4
  # Définir le répertoire de travail dans le conteneur
5
  WORKDIR /app
6
 
7
+ # Set Streamlit's global data directory to a writable location
8
+ ENV STREAMLIT_GLOBAL_DATA_DIR /tmp/.streamlit
9
+ ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS false
10
+
11
+ # Set the pgeocode cache directory
12
  ENV PGEOCODE_CACHE_DIR /tmp/pgeocode
13
 
14
  # Copier les fichiers de requirements