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