Update Dockerfile

This commit is contained in:
浪子 2024-12-16 11:52:19 +08:00 committed by GitHub
parent 8aece8bfd0
commit 6e6fe95591
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -23,8 +23,8 @@ WORKDIR /pleroma
# 克隆 Pleroma 仓库并切换到指定版本
RUN git clone -b stable https://git.pleroma.social/pleroma/pleroma.git . && \
git checkout ${PLEROMA_VER} && \
&& echo "import Mix.Config" > config/prod.secret.exs && \
git checkout ${PLEROMA_VER} \
&& echo "import Mix.Config" > config/prod.secret.exs \
&& mix local.hex --force && \
&& mix local.rebar --force && \
&& mix deps.get --only prod && \