Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -17,6 +17,12 @@ USER user
|
|
| 17 |
# Set home to the user's home directory
|
| 18 |
ENV HOME=/home/user \
|
| 19 |
PATH=/home/user/.local/bin:$PATH
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
# Set the working directory to the user's home directory
|
| 22 |
WORKDIR $HOME/app
|
|
|
|
| 17 |
# Set home to the user's home directory
|
| 18 |
ENV HOME=/home/user \
|
| 19 |
PATH=/home/user/.local/bin:$PATH
|
| 20 |
+
|
| 21 |
+
|
| 22 |
+
# Define environment variables for GPU, RAM limit, and shared memory
|
| 23 |
+
ENV GPU_ID="0" \
|
| 24 |
+
RAM_LIMIT="4g" \
|
| 25 |
+
SHM_SIZE="2g"
|
| 26 |
|
| 27 |
# Set the working directory to the user's home directory
|
| 28 |
WORKDIR $HOME/app
|