use upstream nginx container instead of building off it
This commit is contained in:
parent
0b45beaf6e
commit
c44d0f6f25
2 changed files with 2 additions and 6 deletions
|
@ -2,9 +2,4 @@ systemctl --user stop latenightdef
|
|||
cp latenightdef.container ~/.config/containers/systemd
|
||||
systemctl --user daemon-reload
|
||||
|
||||
sed -i "s/DATE/$(date -I)/g" index.html
|
||||
sed -i "s/VERSION/$(git log -1 --oneline | awk '{print $1}')/g" index.html
|
||||
podman build -t latenightdef .
|
||||
|
||||
|
||||
systemctl --user start latenightdef
|
||||
|
|
|
@ -3,8 +3,9 @@ Description=Late Night Defender personal website
|
|||
|
||||
[Container]
|
||||
ContainerName=latenightdef
|
||||
Image=latenightdef
|
||||
Image=docker.io/library/nginx:alpine
|
||||
PublishPort=8083:80
|
||||
Volume=/run/media/core/Data1/Apps/pages:/usr/share/nginx/html:ro,z
|
||||
|
||||
[Service]
|
||||
Restart=always
|
||||
|
|
Loading…
Reference in a new issue