mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-20 22:16:09 +05:00
FIX-1 - Related to #324 - fixed Docker file go lang ver. to follow server/go.mod minimal go lang requirements, and set web app correct root, resolved warnings argument values (#499)
This commit is contained in:
@@ -3,9 +3,9 @@ FROM --platform=$BUILDPLATFORM node:16-alpine AS front
|
|||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ARG REACT_APP_SERVER_HOST=
|
ARG REACT_APP_SERVER_HOST='.'
|
||||||
ARG REACT_APP_TMDB_API_KEY=
|
ARG REACT_APP_TMDB_API_KEY=''
|
||||||
ARG PUBLIC_URL=
|
ARG PUBLIC_URL=''
|
||||||
|
|
||||||
ENV REACT_APP_SERVER_HOST=$REACT_APP_SERVER_HOST
|
ENV REACT_APP_SERVER_HOST=$REACT_APP_SERVER_HOST
|
||||||
ENV REACT_APP_TMDB_API_KEY=$REACT_APP_TMDB_API_KEY
|
ENV REACT_APP_TMDB_API_KEY=$REACT_APP_TMDB_API_KEY
|
||||||
@@ -21,7 +21,7 @@ RUN yarn run build
|
|||||||
|
|
||||||
|
|
||||||
### BUILD TORRSERVER MULTIARCH START ###
|
### BUILD TORRSERVER MULTIARCH START ###
|
||||||
FROM --platform=$BUILDPLATFORM golang:1.21.2-alpine AS builder
|
FROM --platform=$BUILDPLATFORM golang:1.24.0-alpine AS builder
|
||||||
|
|
||||||
COPY . /opt/src
|
COPY . /opt/src
|
||||||
COPY --from=front /app/build /opt/src/web/build
|
COPY --from=front /app/build /opt/src/web/build
|
||||||
|
|||||||
@@ -65,5 +65,6 @@
|
|||||||
"main": "gulpfile.js",
|
"main": "gulpfile.js",
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "ISC"
|
"license": "ISC",
|
||||||
|
"homepage": "./"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user