Update Dockerfile
Browse files- Dockerfile +18 -0
Dockerfile
CHANGED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
FROM aisheets/sheets:dev
|
| 2 |
+
|
| 3 |
+
# Set data dir under persisted volume (if enabled)
|
| 4 |
+
ENV DATA_DIR /data/sheets
|
| 5 |
+
|
| 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
|