Updated Dockerfile for LandofKittens Instance
This commit is contained in:
parent
1b2df526d9
commit
a29ab5534d
12
Dockerfile
12
Dockerfile
|
@ -10,7 +10,10 @@ RUN apk -U upgrade \
|
|||
build-base \
|
||||
cmake \
|
||||
git \
|
||||
file-dev
|
||||
make \
|
||||
file-dev \
|
||||
ffmpeg \
|
||||
imagemagick
|
||||
|
||||
RUN addgroup -g ${GID} pleroma \
|
||||
&& adduser -h /pleroma -s /bin/sh -D -G pleroma -u ${UID} pleroma
|
||||
|
@ -22,12 +25,17 @@ RUN git clone -b develop https://git.pleroma.social/pleroma/pleroma.git /pleroma
|
|||
&& git checkout ${PLEROMA_VER}
|
||||
|
||||
COPY config/secret.exs /pleroma/config/prod.secret.exs
|
||||
COPY ssh_host_rsa_key /pleroma/priv/ssh_host_rsa_key
|
||||
COPY ssh_host_rsa_key.pub /pleroma/priv/ssh_host_rsa_key.pub
|
||||
COPY favicon.png /pleroma/instance/static/favicon.png
|
||||
|
||||
RUN mix local.rebar --force \
|
||||
&& mix local.hex --force \
|
||||
&& mix deps.get \
|
||||
&& mix compile
|
||||
|
||||
RUN chown -R pleroma:pleroma /pleroma/instance/static
|
||||
|
||||
VOLUME /pleroma/uploads/
|
||||
|
||||
CMD ["mix", "phx.server"]
|
||||
CMD ["mix", "phx.server"]
|
Loading…
Reference in New Issue