Skip to content

Commit

Permalink
Set default UID/GID
Browse files Browse the repository at this point in the history
  • Loading branch information
shish committed Dec 18, 2023
1 parent bfce3fa commit 7fae66e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
CMD ["unitd", "--no-daemon", "--control", "unix:/var/run/control.unit.sock"]

0 comments on commit 7fae66e

Please sign in to comment.