Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -10
Dockerfile
CHANGED
|
@@ -42,17 +42,10 @@ RUN pip install --no-cache-dir \
|
|
| 42 |
# Create a working directory for the Hugo site and the Hugging Face models
|
| 43 |
WORKDIR /app
|
| 44 |
|
| 45 |
-
# Copy the Hugo site files into the container
|
| 46 |
-
# COPY ./content/post /app/content/post
|
| 47 |
-
|
| 48 |
-
# # Build the Hugo site
|
| 49 |
-
# RUN cd /app/content/post && hugo
|
| 50 |
-
|
| 51 |
-
# Copy the Hugo content and other files into the container
|
| 52 |
COPY ./content /app/content
|
| 53 |
-
COPY ./config
|
| 54 |
-
|
| 55 |
-
|
| 56 |
|
| 57 |
# Build the Hugo site
|
| 58 |
RUN hugo
|
|
|
|
| 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 |
# Build the Hugo site
|
| 51 |
RUN hugo
|