Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
|
@@ -9,7 +9,7 @@ COPY sync_data.sh /app/sync_data.sh
|
|
| 9 |
# Ensure the script is executable
|
| 10 |
RUN chmod +x /app/sync_data.sh
|
| 11 |
|
| 12 |
-
# Create the function in the environment and determine the user ID inside the base image
|
| 13 |
RUN export getId='getId() { id -u "$1" 2>/dev/null; }' && \
|
| 14 |
USER_ID=$(getId appuser || getId node || getId nobody || echo "1000") && \
|
| 15 |
GROUP_ID=$USER_ID && \
|
|
|
|
| 9 |
# Ensure the script is executable
|
| 10 |
RUN chmod +x /app/sync_data.sh
|
| 11 |
|
| 12 |
+
# Create the function in the environment and determine the user ID inside the base image
|
| 13 |
RUN export getId='getId() { id -u "$1" 2>/dev/null; }' && \
|
| 14 |
USER_ID=$(getId appuser || getId node || getId nobody || echo "1000") && \
|
| 15 |
GROUP_ID=$USER_ID && \
|