Skip to content

Modern Docker Management, Designed for Everyone

fix: create database in docker build

Kyle Mendell24b33e8715fa
diff --git a/Dockerfile b/Dockerfile
index 3ba7f74cd..5d3b9eab6 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -40,6 +40,7 @@ ENV DOCKER_GID=998 PUID=2000 PGID=2000
# Set up directories and permissions
RUN mkdir -p /app/data && chmod 755 /app/data
+RUN touch /app/data/arcane.db && chmod 755 /app/data/arcane.db
# Copy only necessary files from builder
COPY --from=builder /app/build ./build