remove akkoma dir as root
This commit is contained in:
parent
93f68c4b85
commit
8062c75935
|
@ -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}"
|
||||
|
||||
|
|
Loading…
Reference in a new issue