Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -36,13 +36,13 @@ COPY app.py .
|
|
36 |
COPY startup.sh .
|
37 |
|
38 |
# Create the config directory if it doesn't exist
|
39 |
-
mkdir -p /home/user/.config/kaggle
|
40 |
|
41 |
# Move the file from .kaggle to the correct location
|
42 |
-
mv ~/.kaggle/kaggle.json /home/user/.config/kaggle/kaggle.json
|
43 |
|
44 |
# Set proper permissions
|
45 |
-
chmod 600 /home/user/.config/kaggle/kaggle.json
|
46 |
|
47 |
# Fix line endings and make startup script executable
|
48 |
RUN dos2unix startup.sh && chmod +x startup.sh
|
|
|
36 |
COPY startup.sh .
|
37 |
|
38 |
# Create the config directory if it doesn't exist
|
39 |
+
RUN mkdir -p /home/user/.config/kaggle
|
40 |
|
41 |
# Move the file from .kaggle to the correct location
|
42 |
+
RUN mv ~/.kaggle/kaggle.json /home/user/.config/kaggle/kaggle.json
|
43 |
|
44 |
# Set proper permissions
|
45 |
+
RUN chmod 600 /home/user/.config/kaggle/kaggle.json
|
46 |
|
47 |
# Fix line endings and make startup script executable
|
48 |
RUN dos2unix startup.sh && chmod +x startup.sh
|