aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index cf67d3c..2010b09 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -41,13 +41,11 @@ USER kaze
# Expose port
EXPOSE 8080
-# Default config location
-ENV KAZE_CONFIG=/app/config.yaml
-
# Health check
HEALTHCHECK --interval=30s --timeout=5s --start-period=5s --retries=3 \
CMD wget --no-verbose --tries=1 --spider http://localhost:8080/ || exit 1
# Run the application
+# Config and database will be in /app/data volume mount
ENTRYPOINT ["./kaze"]
-CMD ["--config", "/app/config.yaml"]
+CMD ["--config", "/app/data/config.yaml"]