XciD HF staff commited on
Commit
5aa4704
1 Parent(s): 96e0f9f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -18,6 +18,7 @@ VOLUME /data
18
 
19
  # Copy the rest of the application files to the container
20
  COPY --chown=1000 . .
 
21
 
22
  # Build the Next.js application for production
23
  RUN npm run build
@@ -26,4 +27,4 @@ RUN npm run build
26
  EXPOSE 5555
27
 
28
  # Start the application
29
- CMD ["npx", "prisma", "studio"]
 
18
 
19
  # Copy the rest of the application files to the container
20
  COPY --chown=1000 . .
21
+ RUN chmod +x entrypoint.sh
22
 
23
  # Build the Next.js application for production
24
  RUN npm run build
 
27
  EXPOSE 5555
28
 
29
  # Start the application
30
+ CMD ["entrypoint.sh"]