forked from BgLUG/bglug.it
Compare commits
2 Commits
149d7d424f
...
830e51ce87
Author | SHA1 | Date | |
---|---|---|---|
830e51ce87 | |||
69d92035fc |
10
Dockerfile
10
Dockerfile
@ -10,15 +10,13 @@ FROM alpine:latest
|
||||
RUN \
|
||||
apk -U upgrade && \
|
||||
apk add nginx curl logrotate && \
|
||||
mkdir -p /wwwroot /logs
|
||||
|
||||
COPY docker/rootfs /
|
||||
COPY --from=hugobuild /src/public /wwwroot/
|
||||
|
||||
RUN \
|
||||
mkdir -p /wwwroot /logs && \
|
||||
chown -R nginx:www-data /wwwroot /logs && \
|
||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||
|
||||
COPY docker/rootfs /
|
||||
COPY --from=hugobuild --chown=nginx:www-data --chmod=a-x,a=rX,ug+w /src/public /wwwroot/
|
||||
|
||||
# config test
|
||||
RUN nginx -t
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
baseURL: https://bglug.it
|
||||
baseURL: http://bglug.it:9898
|
||||
languageCode: it-IT
|
||||
title: BgLUG
|
||||
subtitle: Bergamo Linux Users Group
|
||||
|
Loading…
x
Reference in New Issue
Block a user