diff --git a/Dockerfile b/Dockerfile index a712977..8e0168e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,12 +6,12 @@ ENV PROD_SECRET_FILE=/config/prod.secret.exs USER root RUN mkdir -p "$(dirname "${PROD_SECRET_FILE}")" && \ touch "${PROD_SECRET_FILE}" && \ - chown -R 1000:1000 "$(dirname "${PROD_SECRET_FILE}")" + chown -R 1000:1000 "$(dirname "${PROD_SECRET_FILE}")" && \ + rm -rf /opt/akkoma USER akkoma WORKDIR /opt -RUN rm -rf akkoma && \ - git clone https://akkoma.dev/AkkomaGang/akkoma.git akkoma && \ +RUN git clone https://akkoma.dev/AkkomaGang/akkoma.git akkoma && \ git fetch --all && \ git checkout "${AKKOMA_COMMIT}"