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:
Andzejs Nereds
2025-02-25 03:40:17 +02:00
committed by GitHub
parent 909473d9aa
commit 6d01795ea4
2 changed files with 6 additions and 5 deletions

View File

@@ -3,9 +3,9 @@ FROM --platform=$BUILDPLATFORM node:16-alpine AS front
WORKDIR /app
ARG REACT_APP_SERVER_HOST=
ARG REACT_APP_TMDB_API_KEY=
ARG PUBLIC_URL=
ARG REACT_APP_SERVER_HOST='.'
ARG REACT_APP_TMDB_API_KEY=''
ARG PUBLIC_URL=''
ENV REACT_APP_SERVER_HOST=$REACT_APP_SERVER_HOST
ENV REACT_APP_TMDB_API_KEY=$REACT_APP_TMDB_API_KEY
@@ -21,7 +21,7 @@ RUN yarn run build
### 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 --from=front /app/build /opt/src/web/build

View File

@@ -65,5 +65,6 @@
"main": "gulpfile.js",
"keywords": [],
"author": "",
"license": "ISC"
"license": "ISC",
"homepage": "./"
}