File size: 603 Bytes
4cd6b1a
7f23629
4edbaf7
 
2d166cd
580c0b0
a8da263
 
2fd77cc
f5d15c0
 
 
 
 
 
 
 
4edbaf7
f5d15c0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
FROM huggingfacedg/dataground-dev:main

# Set data dir under persisted volume (if enabled)
ENV DATA_DIR /data/dataground

# Configure HF cache to the persisted volume
ENV HF_HOME /data/hf_cache


# Available environment variables
#
# Uncomment the next line if you want to change the default timeout when requesting inference client (Default: 90 seconds)
# ENV INFERENCE_TIMEOUT=90000
#
# Uncomment the next line if you want to change the number of concurrent requests when generating data
# ENV NUM_CONCURRENT_REQUESTS=5

# Grant write access to the node app
RUN mkdir /data && chown -R node:node /data