Spaces:
Build error
Build error
GitHub Actions
commited on
Commit
·
cb6453b
1
Parent(s):
cdae994
Update from GitHub
Browse files- Dockerfile +5 -0
- hp-solanaceae +1 -1
Dockerfile
CHANGED
@@ -43,6 +43,11 @@ RUN jekyll build
|
|
43 |
# Use a lightweight web server to serve the static files
|
44 |
FROM nginx:alpine
|
45 |
|
|
|
|
|
|
|
|
|
|
|
46 |
# Delete the default config (which includes the problematic 'user' directive)
|
47 |
RUN rm /etc/nginx/nginx.conf
|
48 |
|
|
|
43 |
# Use a lightweight web server to serve the static files
|
44 |
FROM nginx:alpine
|
45 |
|
46 |
+
# Create necessary directories with correct permissions
|
47 |
+
RUN mkdir -p /var/cache/nginx/client_temp \
|
48 |
+
&& chown -R nginx:nginx /var/cache/nginx \
|
49 |
+
&& chmod -R 755 /var/cache/nginx
|
50 |
+
|
51 |
# Delete the default config (which includes the problematic 'user' directive)
|
52 |
RUN rm /etc/nginx/nginx.conf
|
53 |
|
hp-solanaceae
CHANGED
@@ -1 +1 @@
|
|
1 |
-
Subproject commit
|
|
|
1 |
+
Subproject commit cdae99423a91a48adc6818703e48cacf3461a853
|