Multiple changes

This commit is contained in:
2025-02-12 21:01:52 +01:00
parent d66df792c6
commit 63165795ca
5 changed files with 33 additions and 6 deletions

View File

@@ -1,14 +1,14 @@
FROM debian:bookworm
WORKDIR /app
WORKDIR /app/scripts
COPY app /app
RUN apt-get update && apt-get full-upgrade -y
RUN apt-get update && apt-get full-upgrade -y && apt-get autoremove -y && apt-get autoclean -y
RUN /app/sury-php-repo.sh
#RUN /app/scripts/sury-php-repo.sh
RUN /app/install-dependencies.sh
RUN /app/scripts/install-dependencies.sh
ENV PORT=8080
@@ -16,4 +16,7 @@ EXPOSE 8080
#CMD ["/app/launch-daemons.sh"]
ENTRYPOINT ["/app/launch-daemons.sh"]
ENTRYPOINT ["/app/scripts/launch-daemons.sh"]
HEALTHCHECK --interval=5m --timeout=30s \
CMD /app/scripts/healthchecker.sh || exit 1