diff --git a/Dockerfile b/Dockerfile index fd3911f..2115d50 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,13 +2,15 @@ FROM docker.io/node:22 AS build-ember # TODO: Implement ember frontend build COPY . /app WORKDIR /app/frontend-reactive -RUN npm install && npm run build +RUN npm install +RUN npm run build FROM docker.io/golang:1.24 AS build-go # TODO: Implement golang build COPY --from=build-ember /app /app WORKDIR /app +RUN GOTOOLCHAIN=auto GOSUMDB=sum.golang.org go get RUN CGO_ENABLED=0 GOTOOLCHAIN=auto GOSUMDB=sum.golang.org go build -o /app/linstrom . # FROM fedora:latest AS release