Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
build error
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
@@ -20,7 +20,9 @@ RUN chmod +x entrypoint.sh
|
|
20 |
# Expose the application port (assuming your app runs on port 3000)
|
21 |
EXPOSE 3000
|
22 |
|
23 |
-
# create symlink for /data/uploads to /static/data/uploads
|
|
|
|
|
24 |
RUN mkdir -p ./static/data && ln -s /data/uploads ./static/data/uploads
|
25 |
|
26 |
# Start the application
|
|
|
20 |
# Expose the application port (assuming your app runs on port 3000)
|
21 |
EXPOSE 3000
|
22 |
|
23 |
+
# create symlink for /data/uploads to /static/data/uploads, but first create the folder if it doesn't exist
|
24 |
+
RUN mkdir -p /data/uploads
|
25 |
+
|
26 |
RUN mkdir -p ./static/data && ln -s /data/uploads ./static/data/uploads
|
27 |
|
28 |
# Start the application
|