emoji mountpoint fixup (#10)
This commit is contained in:
parent
9398a1b816
commit
7995f16a68
@ -51,10 +51,17 @@ USER pleroma
|
|||||||
WORKDIR /home/pleroma
|
WORKDIR /home/pleroma
|
||||||
|
|
||||||
# Get pleroma sources
|
# Get pleroma sources
|
||||||
|
#
|
||||||
|
# Also make sure that instance/static/emoji exists.
|
||||||
|
# Pleroma does not ship with an `instance` folder by default, causing docker to create `instance/static` for us at launch.
|
||||||
|
# In itself that wouldn't be much of an issue, but said folder(s) are created as root:pleroma with 2755.
|
||||||
|
# This breaks the custom.d step in entrypoint.sh which relies on writing there (See #10).
|
||||||
|
#
|
||||||
ARG PLEROMA_GIT_REPO
|
ARG PLEROMA_GIT_REPO
|
||||||
RUN \
|
RUN \
|
||||||
echo "#> Getting pleroma sources from $PLEROMA_GIT_REPO..." 1>&2 && \
|
echo "#> Getting pleroma sources from $PLEROMA_GIT_REPO..." 1>&2 && \
|
||||||
git clone --progress $PLEROMA_GIT_REPO ./pleroma
|
git clone --progress $PLEROMA_GIT_REPO ./pleroma && \
|
||||||
|
mkdir -p ./pleroma/instance/static/emoji
|
||||||
|
|
||||||
WORKDIR /home/pleroma/pleroma
|
WORKDIR /home/pleroma/pleroma
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user