Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -48,10 +48,10 @@ COPY ./static /app/static
|
|
| 48 |
COPY ./assets /app/assets
|
| 49 |
|
| 50 |
# Ensure Hugo Modules are fetched (this is important for theme dependencies)
|
| 51 |
-
|
| 52 |
|
| 53 |
# Copy the theme into the /themes directory
|
| 54 |
-
COPY ./hugo-theme-stack /app/themes
|
| 55 |
|
| 56 |
# Build the Hugo site
|
| 57 |
RUN hugo
|
|
|
|
| 48 |
COPY ./assets /app/assets
|
| 49 |
|
| 50 |
# Ensure Hugo Modules are fetched (this is important for theme dependencies)
|
| 51 |
+
RUN hugo mod get
|
| 52 |
|
| 53 |
# Copy the theme into the /themes directory
|
| 54 |
+
# COPY ./hugo-theme-stack /app/themes
|
| 55 |
|
| 56 |
# Build the Hugo site
|
| 57 |
RUN hugo
|