AstraOS commited on
Commit
1a64e67
·
verified ·
1 Parent(s): 80e3c68

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -29,7 +29,7 @@ COPY . .
29
  # Ensure the /app directory (and its subdirectories) are writable
30
  RUN chmod -R 777 /app
31
 
32
- RUN chmod u+w /app/.hugo_build.lock
33
 
34
  # Remove any stale Hugo build lock file
35
  RUN rm -f /app/.hugo_build.lock
@@ -48,4 +48,4 @@ RUN rm -f /app/.hugo_build.lock && hugo --noTimes
48
  EXPOSE 7860
49
 
50
  # Start the Hugo server with --noTimes (and other desired flags)
51
- CMD ["hugo", "server", "--bind", "0.0.0.0", "--port", "7860", "--disableFastRender", "--noTimes"]
 
29
  # Ensure the /app directory (and its subdirectories) are writable
30
  RUN chmod -R 777 /app
31
 
32
+ # RUN chmod u+w /app/.hugo_build.lock
33
 
34
  # Remove any stale Hugo build lock file
35
  RUN rm -f /app/.hugo_build.lock
 
48
  EXPOSE 7860
49
 
50
  # Start the Hugo server with --noTimes (and other desired flags)
51
+ CMD ["hugo", "server", "--bind", "0.0.0.0", "--port", "7860", "--disableFastRender", "--noBuildLock", "--noTimes"]