Update Dockerfile

use go 1.18 to fix build on release
This commit is contained in:
nikk gitanes
2022-05-25 21:47:28 +03:00
parent 74ff44d5a3
commit e0c41ff6be

View File

@@ -7,7 +7,7 @@ RUN yarn install && yarn run build
### FRONT BUILD END ### ### FRONT BUILD END ###
### BUILD TORRSERVER MULTIARCH START ### ### BUILD TORRSERVER MULTIARCH START ###
FROM --platform=$BUILDPLATFORM golang:1.17-alpine as builder FROM --platform=$BUILDPLATFORM golang:1.18-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