Set default UID/GID
This commit is contained in:
parent
bfce3fa82f
commit
7fae66e7e8
1 changed files with 2 additions and 1 deletions
|
@ -49,6 +49,7 @@ EXPOSE 8000
|
||||||
FROM base AS run
|
FROM base AS run
|
||||||
EXPOSE 8000
|
EXPOSE 8000
|
||||||
HEALTHCHECK --interval=1m --timeout=3s CMD curl --fail http://127.0.0.1:8000/ || exit 1
|
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
|
COPY --from=build /app /app
|
||||||
ENTRYPOINT ["/app/.docker/entrypoint.sh"]
|
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"]
|
||||||
|
|
Reference in a new issue