From 94f1d4c5868c4d0157c8025590ee19437519231d Mon Sep 17 00:00:00 2001 From: valentinkolb Date: Tue, 11 Jun 2024 23:17:20 +0200 Subject: [PATCH] fix(docker): fixed go version in Dockerfile --- Dockerfile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8ea9c4c..dd4edc7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ # Start from the official Go image to create a build artifact. # This is the first stage of a multi-stage build. -FROM golang:1.21 as builder +FROM golang:1.22 as builder # Set labels LABEL maintainer="Valentin Kolb" -LABEL version="1.0" +LABEL version="2.0" # Set the working directory inside the container. WORKDIR /build @@ -34,6 +34,9 @@ WORKDIR /app # Copy the statically-linked binary from the builder stage. COPY --from=builder /build/pocketbase . +# Copy html files +COPY ./html ./html + # Expose port 8090 to the outside world. EXPOSE 8090