mirror of
https://github.com/linuxserver/docker-your_spotify.git
synced 2026-02-19 16:54:31 +08:00
Fix stages
This commit is contained in:
parent
60bdf6c72e
commit
bb7b1ba94d
@ -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 \
|
||||
|
||||
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user