From 7fae66e7e8824cd69a2a399985e03f3b3c045baf Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 18 Dec 2023 00:43:34 +0000 Subject: [PATCH] Set default UID/GID --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b37994cb..fdbc9482 100644 --- a/Dockerfile +++ b/Dockerfile @@ -49,6 +49,7 @@ EXPOSE 8000 FROM base AS run EXPOSE 8000 HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1 +ENV UID=1000 GID=1000 COPY --from=build /app /app ENTRYPOINT ["/app/.docker/entrypoint.sh"] -CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"] \ No newline at end of file +CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]