Split up package pull and build
This commit is contained in:
parent
b363b87013
commit
4f64f0b847
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue