Update Dockerfile

This commit is contained in:
浪子 2024-12-16 13:27:55 +08:00 committed by GitHub
parent 5e7abae8c3
commit 82cb61c085
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -28,8 +28,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 && \
mix local.hex --force && \
echo "import Mix.Config" > config/prod.secret.exs
RUN mix local.hex --force && \
mix local.rebar --force && \
mix deps.get --only prod && \
mix release --path /pleroma