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"]