Update Dockerfile
This commit is contained in:
parent
5e7abae8c3
commit
82cb61c085
|
@ -28,8 +28,8 @@ WORKDIR /pleroma
|
||||||
# 克隆 Pleroma 仓库并切换到指定版本
|
# 克隆 Pleroma 仓库并切换到指定版本
|
||||||
RUN git clone -b stable https://git.pleroma.social/pleroma/pleroma.git . && \
|
RUN git clone -b stable https://git.pleroma.social/pleroma/pleroma.git . && \
|
||||||
git checkout ${PLEROMA_VER} && \
|
git checkout ${PLEROMA_VER} && \
|
||||||
echo "import Mix.Config" > config/prod.secret.exs && \
|
echo "import Mix.Config" > config/prod.secret.exs
|
||||||
mix local.hex --force && \
|
RUN mix local.hex --force && \
|
||||||
mix local.rebar --force && \
|
mix local.rebar --force && \
|
||||||
mix deps.get --only prod && \
|
mix deps.get --only prod && \
|
||||||
mix release --path /pleroma
|
mix release --path /pleroma
|
||||||
|
|
Loading…
Reference in New Issue