enzostvs HF staff commited on
Commit
6bb45c9
β€’
1 Parent(s): 050e905

test to read file from volume data

Browse files
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. vite.config.ts +0 -1
Dockerfile CHANGED
@@ -20,7 +20,7 @@ RUN chmod +x entrypoint.sh
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"]
 
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"]
vite.config.ts CHANGED
@@ -12,6 +12,5 @@ export default defineConfig({
12
  strict: false,
13
  allow: [".."],
14
  },
15
- origin: "http://localhost:3000",
16
  }
17
  });
 
12
  strict: false,
13
  allow: [".."],
14
  },
 
15
  }
16
  });