diff --git a/Dockerfile b/Dockerfile index 2337aa3..10706ec 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,22 @@ FROM debian:latest # Install dependencies -RUN apt-get update && apt-get install -y \ - curl gnupg2 ca-certificates lsb-release apt-transport-https \ - postgresql caddy nodejs npm && \ - rm -rf /var/lib/apt/lists/* +RUN apt-get update + +RUN apt-get install -y \ + curl gnupg2 ca-certificates lsb-release apt-transport-https + +RUN apt-get install -y \ + postgresql + +RUN apt-get install -y \ + caddy + +RUN apt-get install -y \ + nodejs npm + + +RUN rm -rf /var/lib/apt/lists/* RUN echo "listen_addresses='*'" >> /etc/postgresql/15/main/postgresql.conf && \ echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/15/main/pg_hba.conf && \