finalize docker setup

now fully works via docker \o/
This commit is contained in:
yagich committed 2025-05-23 13:14:51 +03:00
1 parent 4fa80aa8c7
commit 7f17d4c29e
2 files changed
+2 -5

No files matched your search

+1 -5
View File
@@ -1,12 +1,8 @@
# HOW TO:
#
# docker build -t porom:latest .
#
# Then run the container:
#
# docker compose up
#
# NOTE: not working yet. i get an error that the db is read-only :(
# it exposes the data/ and secrets/ volumes in app root
#
FROM openresty/openresty:alpine-fat
+1
View File
@@ -15,6 +15,7 @@ first_launch() {
touch "secrets/.touched.$LAPIS_ENVIRONMENT"
mkdir -p data/db
luajit schema.lua
chmod -R a+rw data
lapis migrate
luajit create_default_accounts.lua
}