File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"
88
99ENV RAILS_ENV="production" \
1010 NODE_ENV="production" \
11- PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/ app/www/bin"
11+ PATH="${PATH}:/app/www/bin"
1212
1313RUN \
1414 apk add -U --upgrade --no-cache \
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"
88
99ENV RAILS_ENV="production" \
1010 NODE_ENV="production" \
11- PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/ app/www/bin"
11+ PATH="${PATH}:/app/www/bin"
1212
1313RUN \
1414 apk add -U --upgrade --no-cache \
Original file line number Diff line number Diff line change 11#!/usr/bin/with-contenv bash
22# shellcheck shell=bash
33
4+ # Disable php-fpm service as Mastodon doesn't use it
5+ touch /etc/services.d/php-fpm/down
6+
47mkdir -p \
58 /app/www/tmp \
69 /config/mastodon/public/system
Original file line number Diff line number Diff line change 22# shellcheck shell=bash
33
44RAILS_ENV=production
5- PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/ app/www/bin"
5+ PATH="${PATH}:/app/www/bin"
66RAILS_SERVE_STATIC_FILES=false
77
88exec \
Original file line number Diff line number Diff line change 22# shellcheck shell=bash
33
44RAILS_ENV=production
5- PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/ app/www/bin"
5+ PATH="${PATH}:/app/www/bin"
66
77cd /app/www || exit 1
88
Original file line number Diff line number Diff line change 22# shellcheck shell=bash
33
44NODE_ENV=production
5- PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/ app/www/bin"
5+ PATH="${PATH}:/app/www/bin"
66
77exec \
88 s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 4000" \
You can’t perform that action at this time.
0 commit comments