Fix stages

This commit is contained in:
TheSpad 2024-03-02 16:08:55 +00:00
parent 60bdf6c72e
commit bb7b1ba94d
No known key found for this signature in database
GPG Key ID: 08F06191F4587860
2 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"
RUN \
echo "**** install server-buildstage packages ****" && \
echo "**** install buildstage packages ****" && \
apk -U --update --no-cache add --virtual=build-dependencies \
build-base \
cmake \
@ -30,13 +30,13 @@ RUN \
/tmp/your_spotify.tar.gz -C \
/app/www/ --strip-components=1 && \
cd /app/www && \
yarn --frozen-lockfile && \
#yarn --frozen-lockfile && \
cd /app/www/apps/server && \
yarn build && \
yarn --production --frozen-lockfile && \
echo "*** install your_spotify client ***" && \
cd /app/www/apps/client && \
yarn --frozen-lockfile --network-timeout 60000 && \
yarn --frozen-lockfile && \
yarn build && \
yarn cache clean && \
apk del --purge \

View File

@ -1,6 +1,6 @@
# syntax=docker/dockerfile:1
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19 as server-buildstage
FROM ghcr.io/linuxserver/baseimage-alpine:arm64v8-3.19 as buildstage
# set version label
ARG BUILD_DATE
@ -10,7 +10,7 @@ LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DA
LABEL maintainer="thespad"
RUN \
echo "**** install server-buildstage packages ****" && \
echo "**** install buildstage packages ****" && \
apk -U --update --no-cache add --virtual=build-dependencies \
build-base \
cmake \
@ -36,7 +36,7 @@ RUN \
yarn --production --frozen-lockfile && \
echo "*** install your_spotify client ***" && \
cd /app/www/apps/client && \
yarn --frozen-lockfile --network-timeout 60000 && \
yarn --frozen-lockfile && \
yarn build && \
yarn cache clean && \
apk del --purge \