might work now

This commit is contained in:
2019-12-09 01:15:23 -08:00
parent c7b081f5b9
commit 72a9dc7d78
11 changed files with 159 additions and 20 deletions

View File

@@ -11,6 +11,12 @@ ENV \
NODE_ENV=production \
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mastodon/app/bin
ARG UID=991
ARG GID=991
# mastodon v3.0.1
ARG REPO_URL=https://github.com/tootsuite/mastodon.git
ARG REPO_REV=c4118ba71ba31e408c02d289e111326ccc6f6aa2
# install os prereq stuff to image
ADD prereqs.sh /tmp/prereqs.sh
@@ -25,7 +31,13 @@ RUN chpst -u mastodon:mastodon bash /tmp/install.sh
ADD ./rootfs /
RUN chmod +x /usr/local/bin/* /etc/service/*/run
RUN chmod +x /etc/service/postfix/run
RUN chmod +x /etc/service/redis/run
RUN chmod +x /etc/service/postgres/run
RUN chmod +x /etc/service/startup/run
RUN chmod +x /etc/service/sidekiq/run
RUN chmod +x /etc/service/web/run
RUN chmod +x /etc/service/streaming/run
VOLUME /state