Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
|
@@ -35,6 +35,8 @@ RUN rm -f /app/.hugo_build.lock
|
|
| 35 |
# (Optional) If you use Hugo Modules, refresh them:
|
| 36 |
RUN hugo --ignoreCache && hugo mod clean && hugo mod get
|
| 37 |
|
|
|
|
|
|
|
| 38 |
# Build the Hugo site with --noTimes to avoid file time updates
|
| 39 |
RUN rm -f /app/.hugo_build.lock && hugo --noTimes
|
| 40 |
|
|
|
|
| 35 |
# (Optional) If you use Hugo Modules, refresh them:
|
| 36 |
RUN hugo --ignoreCache && hugo mod clean && hugo mod get
|
| 37 |
|
| 38 |
+
sudo chmod u+w /app/.hugo_build.lock
|
| 39 |
+
|
| 40 |
# Build the Hugo site with --noTimes to avoid file time updates
|
| 41 |
RUN rm -f /app/.hugo_build.lock && hugo --noTimes
|
| 42 |
|