Skip to content

Commit 4c88a9c

Browse files
committed
Fix some typos
1 parent a75d28a commit 4c88a9c

2 files changed

Lines changed: 16 additions & 19 deletions

File tree

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# syntax=docker/dockerfile:1
22

3-
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:3.22 AS buildbase
3+
FROM ghcr.io/linuxserver/baseimage-alpine:3.22 AS buildbase
44

55
# set version label
66
ARG BUILD_DATE
@@ -14,9 +14,8 @@ RUN \
1414
apk -U --update --no-cache add --virtual=build-dependencies \
1515
build-base \
1616
cmake \
17-
curl \
1817
npm \
19-
python3-dev && \
18+
python3 && \
2019
npm install -g pnpm typescript && \
2120
echo "*** install your_spotify ***" && \
2221
if [ -z ${YOUR_SPOTIFY_VERSION+x} ]; then \

Dockerfile.aarch64

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ RUN \
1515
build-base \
1616
cmake \
1717
npm \
18-
python3-dev \
19-
yarn && \
18+
python3 && \
19+
npm install -g pnpm typescript && \
2020
echo "*** install your_spotify ***" && \
2121
if [ -z ${YOUR_SPOTIFY_VERSION+x} ]; then \
2222
YOUR_SPOTIFY_VERSION=$(curl -sX GET "https://api.github.com/repos/Yooooomi/your_spotify/releases/latest" \
@@ -36,23 +36,23 @@ RUN \
3636
echo "*** install your_spotify client ***" && \
3737
cd /app/www && \
3838
rm -rf /app/www/apps/server && \
39-
yarn --frozen-lockfile && \
39+
CI=true pnpm install --frozen-lockfile && \
4040
cd /app/www/apps/client && \
41-
yarn build && \
42-
rm -rf /app/www/node_modules && \
43-
yarn cache clean
41+
pnpm typecheck && \
42+
pnpm build
4443

4544
FROM buildbase AS buildserver
4645

4746
RUN \
4847
echo "*** install your_spotify server ***" && \
4948
cd /app/www && \
50-
rm -rf /app/www/apps/client && \
51-
yarn --frozen-lockfile && \
49+
CI=true pnpm install --frozen-lockfile && \
5250
cd /app/www/apps/server && \
53-
yarn build && \
54-
rm -rf /app/www/node_modules && \
55-
yarn cache clean
51+
rm eslint.config.mts && \
52+
pnpm typecheck && \
53+
pnpm build && \
54+
rm -rf node_modules && \
55+
NODE_ENV=production CI=true pnpm install --production --frozen-lockfile
5656

5757
FROM ghcr.io/linuxserver/baseimage-alpine-nginx:arm64v8-3.22
5858

@@ -62,18 +62,16 @@ ARG YOUR_SPOTIFY_VERSION
6262
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
6363
LABEL maintainer="thespad"
6464

65-
ENV HOME=/app
65+
ENV HOME=/app \
66+
NODE_ENV=production
6667

6768
COPY --from=buildclient /app/www/apps/client/build/ /app/www/apps/client/build/
6869
COPY --from=buildserver /app/www/apps/server/build/ /app/www/apps/server/build/
6970

7071
RUN \
7172
echo "**** install runtime packages ****" && \
7273
apk add -U --update --no-cache \
73-
nodejs \
74-
npm \
75-
yarn && \
76-
npm install -g serve && \
74+
nodejs && \
7775
printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \
7876
echo "**** cleanup ****" && \
7977
rm -rf \

0 commit comments

Comments
 (0)