diff --git a/Dockerfile b/Dockerfile index 1c0ca84..a81cb42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,9 +15,9 @@ RUN apt-get update && \ apt-get install -y --no-install-recommends \ openssh-server \ && \ - rm -rf /var/lib/apt/lists/* \ - mkdir -p /var/lib/postgresql/.ssh \ - chmod 700 /var/lib/postgresql/.ssh \ + rm -rf /var/lib/apt/lists/* && \ + mkdir -p /var/lib/postgresql/.ssh && \ + chmod 700 /var/lib/postgresql/.ssh && \ chown postgres: /var/lib/postgresql/.ssh COPY --chmod=644 --chown=postgres profile /var/lib/postgresql/.profile