AstraOS commited on
Commit
aab59c9
·
verified ·
1 Parent(s): 327558c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -17,6 +17,8 @@ RUN apt-get update && apt-get install -y \
17
  # Set working directory
18
  WORKDIR /app
19
 
 
 
20
  # Copy the Hugo theme and all project files into the container
21
  COPY . .
22
 
@@ -31,7 +33,7 @@ RUN useradd -m hugo && chown -R hugo:hugo /app
31
  USER hugo
32
 
33
  # Install Hugo modules if required
34
- RUN hugo mod clean && hugo mod get
35
 
36
  # Build the Hugo site (no timestamps for consistency)
37
  RUN hugo --noTimes
 
17
  # Set working directory
18
  WORKDIR /app
19
 
20
+ COPY ./app/themes/hugo-theme-stack /app/themes/hugo-theme-stack
21
+
22
  # Copy the Hugo theme and all project files into the container
23
  COPY . .
24
 
 
33
  USER hugo
34
 
35
  # Install Hugo modules if required
36
+ # RUN hugo mod clean && hugo mod get
37
 
38
  # Build the Hugo site (no timestamps for consistency)
39
  RUN hugo --noTimes