Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +12 -10
Dockerfile
CHANGED
|
@@ -39,19 +39,21 @@ RUN pip install --no-cache-dir \
|
|
| 39 |
fastapi \
|
| 40 |
uvicorn
|
| 41 |
|
| 42 |
-
# Create a working directory for the Hugo site and the Hugging Face models
|
| 43 |
-
WORKDIR /app
|
| 44 |
|
| 45 |
-
COPY ./content /app/content
|
| 46 |
-
COPY ./config /app/config
|
| 47 |
-
COPY ./static /app/static
|
| 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/hugo-theme-stack
|
|
|
|
|
|
|
| 55 |
|
| 56 |
# Build the Hugo site
|
| 57 |
RUN hugo
|
|
|
|
| 39 |
fastapi \
|
| 40 |
uvicorn
|
| 41 |
|
| 42 |
+
# # Create a working directory for the Hugo site and the Hugging Face models
|
| 43 |
+
# WORKDIR /app
|
| 44 |
|
| 45 |
+
# COPY ./content /app/content
|
| 46 |
+
# COPY ./config /app/config
|
| 47 |
+
# COPY ./static /app/static
|
| 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/hugo-theme-stack
|
| 55 |
+
|
| 56 |
+
COPY . .
|
| 57 |
|
| 58 |
# Build the Hugo site
|
| 59 |
RUN hugo
|