Skip to content

Commit 46c0613

Browse files
authored
Merge pull request #17 from linuxserver/fix_bundler_writes
2 parents 880507a + f23cfd5 commit 46c0613

File tree

2 files changed

+12
-10
lines changed

2 files changed

+12
-10
lines changed

Dockerfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,21 @@ ENV RAILS_ENV="production" \
1414
DOCKER_TAG=lscr.io/linuxserver/manyfold:${VERSION} \
1515
PORT=3214 \
1616
RAILS_SERVE_STATIC_FILES=true \
17-
APP_VERSION=${MANYFOLD_VERSION}
17+
APP_VERSION=${MANYFOLD_VERSION} \
18+
HOME=/config
1819

1920
RUN \
2021
apk add --no-cache \
2122
assimp-dev \
2223
file \
2324
gcompat \
24-
glfw \
2525
imagemagick \
2626
imagemagick-heic \
2727
imagemagick-jpeg \
2828
imagemagick-webp \
29+
jemalloc \
2930
libarchive \
30-
libstdc++ \
3131
mariadb-connector-c \
32-
mesa-gl \
3332
pciutils \
3433
postgresql16-client \
3534
ruby \
@@ -83,7 +82,9 @@ RUN \
8382
build-dependencies && \
8483
rm -rf \
8584
$HOME/.bundle/cache \
86-
$HOME/.composer \
85+
$HOME/.cache \
86+
$HOME/.npm \
87+
$HOME/.yarn \
8788
/app/www/node_modules/ \
8889
/app/www/tmp/cache/ \
8990
/app/www/vendor/bundle/ruby/3.3.0/cache/* \

Dockerfile.aarch64

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,22 +14,21 @@ ENV RAILS_ENV="production" \
1414
DOCKER_TAG=lscr.io/linuxserver/manyfold:${VERSION} \
1515
PORT=3214 \
1616
RAILS_SERVE_STATIC_FILES=true \
17-
APP_VERSION=${MANYFOLD_VERSION}
17+
APP_VERSION=${MANYFOLD_VERSION} \
18+
HOME=/config
1819

1920
RUN \
2021
apk add --no-cache \
2122
assimp-dev \
2223
file \
2324
gcompat \
24-
glfw \
2525
imagemagick \
2626
imagemagick-heic \
2727
imagemagick-jpeg \
2828
imagemagick-webp \
29+
jemalloc \
2930
libarchive \
30-
libstdc++ \
3131
mariadb-connector-c \
32-
mesa-gl \
3332
pciutils \
3433
postgresql16-client \
3534
ruby \
@@ -83,7 +82,9 @@ RUN \
8382
build-dependencies && \
8483
rm -rf \
8584
$HOME/.bundle/cache \
86-
$HOME/.composer \
85+
$HOME/.cache \
86+
$HOME/.npm \
87+
$HOME/.yarn \
8788
/app/www/node_modules/ \
8889
/app/www/tmp/cache/ \
8990
/app/www/vendor/bundle/ruby/3.3.0/cache/* \

0 commit comments

Comments
 (0)