Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +5 -0
Dockerfile
CHANGED
|
@@ -55,9 +55,14 @@ WORKDIR /app
|
|
| 55 |
|
| 56 |
COPY . .
|
| 57 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
# Build the Hugo site
|
| 59 |
RUN hugo
|
| 60 |
|
|
|
|
| 61 |
# Expose the port the server will run on
|
| 62 |
EXPOSE 7860
|
| 63 |
|
|
|
|
| 55 |
|
| 56 |
COPY . .
|
| 57 |
|
| 58 |
+
RUN hugo --ignoreCache \
|
| 59 |
+
&& hugo mod clean \
|
| 60 |
+
&& hugo mod get
|
| 61 |
+
|
| 62 |
# Build the Hugo site
|
| 63 |
RUN hugo
|
| 64 |
|
| 65 |
+
|
| 66 |
# Expose the port the server will run on
|
| 67 |
EXPOSE 7860
|
| 68 |
|