From 6d01795ea43f28f95f7a1152e6ec942aa4bce819 Mon Sep 17 00:00:00 2001 From: Andzejs Nereds <82803399+aNereds@users.noreply.github.com> Date: Tue, 25 Feb 2025 03:40:17 +0200 Subject: [PATCH] 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) --- Dockerfile | 8 ++++---- web/package.json | 3 ++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3c17ce9..51f2471 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/web/package.json b/web/package.json index 638be37..e1f9701 100644 --- a/web/package.json +++ b/web/package.json @@ -65,5 +65,6 @@ "main": "gulpfile.js", "keywords": [], "author": "", - "license": "ISC" + "license": "ISC", + "homepage": "./" }