enzostvs HF staff commited on
Commit
f100549
·
1 Parent(s): 5f3c3b8

build error

Browse files
Files changed (1) hide show
  1. 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