feat: dockernize webapp and server packages

This commit is contained in:
a.bouhuolia
2023-03-30 03:55:59 +02:00
parent bd80e7f7be
commit 03753384d3
15 changed files with 492 additions and 142 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
for conf in /etc/nginx/templates/*.conf; do
mv $conf "/etc/nginx/sites-available/"$(basename $conf) > /dev/null
done
for template in /etc/nginx/templates/*.template; do
envsubst < $template > "/etc/nginx/sites-available/"$(basename $template)".conf"
done