sheets / Dockerfile
frascuchon's picture
frascuchon HF Staff
Update Dockerfile
8a82a01 verified
raw
history blame contribute delete
594 Bytes
FROM huggingfacedg/sheets-dev:main
# Set data dir under persisted volume (if enabled)
ENV DATA_DIR /data/sheets
# 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