Multiple changes
This commit is contained in:
13
dockerfile
13
dockerfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user