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