Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +10 -2
Dockerfile
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
FROM huggingfacedg/dataground
|
| 2 |
|
| 3 |
# Set data dir under persisted volume (if enabled)
|
| 4 |
ENV DATA_DIR /data/dataground
|
|
@@ -6,5 +6,13 @@ ENV DATA_DIR /data/dataground
|
|
| 6 |
# Configure HF cache to the persisted volume
|
| 7 |
ENV HF_HOME /data/hf_cache
|
| 8 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
# Grant write access to the node app
|
| 10 |
-
RUN mkdir /data && chown -R node:node /data
|
|
|
|
| 1 |
+
FROM huggingfacedg/dataground:v0.0.0
|
| 2 |
|
| 3 |
# Set data dir under persisted volume (if enabled)
|
| 4 |
ENV DATA_DIR /data/dataground
|
|
|
|
| 6 |
# Configure HF cache to the persisted volume
|
| 7 |
ENV HF_HOME /data/hf_cache
|
| 8 |
|
| 9 |
+
# Available environment variables
|
| 10 |
+
#
|
| 11 |
+
# Uncomment the next line if you want to change the default timeout when requesting inference client (Default: 90 seconds)
|
| 12 |
+
# ENV INFERENCE_TIMEOUT=90000
|
| 13 |
+
#
|
| 14 |
+
# Uncomment the next line if you want to change the number of concurrent requests when generating data
|
| 15 |
+
# ENV NUM_CONCURRENT_REQUESTS=5
|
| 16 |
+
|
| 17 |
# Grant write access to the node app
|
| 18 |
+
RUN mkdir /data && chown -R node:node /data
|