fix entrypoint

This commit is contained in:
Shish 2023-12-16 23:44:46 +00:00
parent 282d13f632
commit 77892c5d92

View file

@ -50,5 +50,5 @@ 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
COPY --from=build /app /app COPY --from=build /app /app
ENTRYPOINT ["/app/.docker/unit-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"]