Added a Dockerfile and docker-compose to this project

The compose requieres the printer image too
This commit is contained in:
2024-05-29 14:45:43 +01:00
parent 0c5c2e82f6
commit dfa7bfeec9
4 changed files with 44 additions and 4 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/sh
set -e
if [ ! -d /frontend ]; then
export GOPROXY="https://goproxy.io"
cd /frontend-src
make clean
make build
mv build /frontend
cd ..
rm -r /frontend-src
ln -s /data.db /frontend/data.db
fi
cd /frontend
exec ./frontend