forked from BgLUG/bglug.it
Compare commits
No commits in common. "830e51ce87543f54ee0c0bf5485b9c0c47855c13" and "149d7d424f067933cb6b4a2656fdc81d208e179e" have entirely different histories.
830e51ce87
...
149d7d424f
10
Dockerfile
10
Dockerfile
@ -10,12 +10,14 @@ FROM alpine:latest
|
||||
RUN \
|
||||
apk -U upgrade && \
|
||||
apk add nginx curl logrotate && \
|
||||
mkdir -p /wwwroot /logs && \
|
||||
chown -R nginx:www-data /wwwroot /logs && \
|
||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||
mkdir -p /wwwroot /logs
|
||||
|
||||
COPY docker/rootfs /
|
||||
COPY --from=hugobuild --chown=nginx:www-data --chmod=a-x,a=rX,ug+w /src/public /wwwroot/
|
||||
COPY --from=hugobuild /src/public /wwwroot/
|
||||
|
||||
RUN \
|
||||
chown -R nginx:www-data /wwwroot /logs && \
|
||||
chmod -R a-x,a=rX,ug+w /wwwroot /logs
|
||||
|
||||
# config test
|
||||
RUN nginx -t
|
||||
|
@ -1,5 +1,5 @@
|
||||
---
|
||||
baseURL: http://bglug.it:9898
|
||||
baseURL: https://bglug.it
|
||||
languageCode: it-IT
|
||||
title: BgLUG
|
||||
subtitle: Bergamo Linux Users Group
|
||||
|
Loading…
x
Reference in New Issue
Block a user