enzostvs HF staff commited on
Commit
16669a8
·
1 Parent(s): 6718702

test symlink

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -19,8 +19,10 @@ RUN chmod +x entrypoint.sh
19
  # Expose the application port (assuming your app runs on port 3000)
20
  EXPOSE 3000
21
 
22
- # create symlink for /data/uploads to /static/data/uploads
23
- RUN mkdir -p ./static/data && ln -s /data/uploads ./static/data/uploads
 
 
24
 
25
  # Start the application
26
  ENTRYPOINT ["/usr/src/app/entrypoint.sh"]
 
19
  # Expose the application port (assuming your app runs on port 3000)
20
  EXPOSE 3000
21
 
22
+ # create symlink for /data/uploads to /static/data/uploads and be able to access it from the browser
23
+ RUN ln -s /data/uploads /usr/src/app/static/data/uploads
24
+
25
+ # RUN mkdir -p ./static/data && ln -s /data/uploads ./static/data/uploads
26
 
27
  # Start the application
28
  ENTRYPOINT ["/usr/src/app/entrypoint.sh"]