Update Dockerfile
This commit is contained in:
parent
8aece8bfd0
commit
6e6fe95591
|
@ -23,8 +23,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 && \
|
&& mix local.hex --force && \
|
||||||
&& mix local.rebar --force && \
|
&& mix local.rebar --force && \
|
||||||
&& mix deps.get --only prod && \
|
&& mix deps.get --only prod && \
|
||||||
|
|
Loading…
Reference in New Issue