cloudunity commited on
Commit
b442b31
·
verified ·
1 Parent(s): 2f9dfdb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -168,6 +168,11 @@ USER 1000
168
 
169
  ENV PDS_DATA_DIRECTORY=/app/data
170
 
 
 
 
 
 
171
  # HF Spaces route to port 7860
172
  ENV PDS_PORT=7860
173
 
@@ -184,7 +189,7 @@ ENV PDS_EMAIL_DISABLE_CONFIRMATION_LINK=true
184
  # variable named PDS_HOSTNAME) so the PDS advertises the right endpoint:
185
  # https://<owner>-<space>.hf.space
186
  # Users' handles will be <name>.<that hostname>.
187
- ENV PDS_HOSTNAME=https://cloudunity-gemmapi1.hf.space
188
 
189
  EXPOSE 7860
190
 
 
168
 
169
  ENV PDS_DATA_DIRECTORY=/app/data
170
 
171
+ # Disk blobstore - stores uploaded images/videos under /app/data (alongside
172
+ # the SQLite db) so everything lives in the persistent volume.
173
+ ENV PDS_BLOBSTORE_DISK_LOCATION=/app/data/blobs
174
+ ENV PDS_BLOBSTORE_DISK_TMP_LOCATION=/app/data/blobs/tmp
175
+
176
  # HF Spaces route to port 7860
177
  ENV PDS_PORT=7860
178
 
 
189
  # variable named PDS_HOSTNAME) so the PDS advertises the right endpoint:
190
  # https://<owner>-<space>.hf.space
191
  # Users' handles will be <name>.<that hostname>.
192
+ ENV PDS_HOSTNAME=https://cloudunity-gemma-api1.hf.space
193
 
194
  EXPOSE 7860
195