Skip to content

Commit 99d12e3

Browse files
authored
Merge pull request #11 from linuxserver/cleanup-main
2 parents 5bba017 + a5fa99e commit 99d12e3

6 files changed

Lines changed: 8 additions & 5 deletions

File tree

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"
88

99
ENV 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

1313
RUN \
1414
apk add -U --upgrade --no-cache \

Dockerfile.aarch64

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ LABEL maintainer="TheSpad"
88

99
ENV 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

1313
RUN \
1414
apk add -U --upgrade --no-cache \

root/etc/cont-init.d/50-config

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
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+
47
mkdir -p \
58
/app/www/tmp \
69
/config/mastodon/public/system

root/etc/services.d/mastodon/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck shell=bash
33

44
RAILS_ENV=production
5-
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
5+
PATH="${PATH}:/app/www/bin"
66
RAILS_SERVE_STATIC_FILES=false
77

88
exec \

root/etc/services.d/sidekiq/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck shell=bash
33

44
RAILS_ENV=production
5-
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
5+
PATH="${PATH}:/app/www/bin"
66

77
cd /app/www || exit 1
88

root/etc/services.d/streaming/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# shellcheck shell=bash
33

44
NODE_ENV=production
5-
PATH="${PATH}:/opt/ruby/bin:/opt/node/bin:/app/www/bin"
5+
PATH="${PATH}:/app/www/bin"
66

77
exec \
88
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 4000" \

0 commit comments

Comments
 (0)