Skip to content

Commit 50157e3

Browse files
authored
Merge pull request #14 from meltyshev/main
2 parents 3044150 + c251cae commit 50157e3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN \
3232
npm install --omit=dev && \
3333
cd /build/client && \
3434
npm install --omit=dev && \
35-
DISABLE_ESLINT_PLUGIN=true npm run build && \
35+
INDEX_FORMAT=ejs DISABLE_ESLINT_PLUGIN=true npm run build && \
3636
echo "**** cleanup ****" && \
3737
apk del --purge \
3838
build-dependencies && \
@@ -53,14 +53,14 @@ LABEL maintainer="thespad"
5353
COPY --from=buildstage /build/server/ /app
5454
COPY --from=buildstage /build/server/.env.sample /app/.env
5555
COPY --from=buildstage /build/client/dist /app/public/
56-
COPY --from=buildstage /build/client/dist/index.html /app/views
5756

5857
RUN \
5958
apk add --no-cache \
6059
nodejs \
6160
npm \
6261
postgresql16-client && \
6362
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
63+
mv /app/public/index.ejs /app/views/ && \
6464
echo "**** create symlinks ****" && \
6565
mkdir -p /app/data/private/attachments && \
6666
/bin/bash -c \

Dockerfile.aarch64

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ RUN \
3232
npm install --omit=dev && \
3333
cd /build/client && \
3434
npm install --omit=dev && \
35-
DISABLE_ESLINT_PLUGIN=true npm run build && \
35+
INDEX_FORMAT=ejs DISABLE_ESLINT_PLUGIN=true npm run build && \
3636
echo "**** cleanup ****" && \
3737
apk del --purge \
3838
build-dependencies && \
@@ -53,14 +53,14 @@ LABEL maintainer="thespad"
5353
COPY --from=buildstage /build/server/ /app
5454
COPY --from=buildstage /build/server/.env.sample /app/.env
5555
COPY --from=buildstage /build/client/dist /app/public/
56-
COPY --from=buildstage /build/client/dist/index.html /app/views
5756

5857
RUN \
5958
apk add --no-cache \
6059
nodejs \
6160
npm \
6261
postgresql16-client && \
6362
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
63+
mv /app/public/index.ejs /app/views/ && \
6464
echo "**** create symlinks ****" && \
6565
mkdir -p /app/data/private/attachments && \
6666
/bin/bash -c \

0 commit comments

Comments
 (0)