Pin dependencies
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 44s
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 44s
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
FROM golang:1.23.0 AS builder_go
|
||||
FROM golang:1.23.0@sha256:613a108a4a4b1dfb6923305db791a19d088f77632317cfc3446825c54fb862cd AS builder_go
|
||||
WORKDIR /me-fit
|
||||
RUN go install github.com/a-h/templ/cmd/templ@latest
|
||||
COPY . ./
|
||||
RUN templ generate && go build -o /me-fit/me-fit .
|
||||
|
||||
|
||||
FROM node:22.7.0 AS builder_node
|
||||
FROM node:22.7.0@sha256:54b7a9a6bb4ebfb623b5163581426b83f0ab39292e4df2c808ace95ab4cba94f AS builder_node
|
||||
WORKDIR /me-fit
|
||||
COPY . ./
|
||||
RUN npm install && npm run build
|
||||
|
||||
|
||||
FROM debian:12.6
|
||||
FROM debian:12.6@sha256:aadf411dc9ed5199bc7dab48b3e6ce18f8bbee4f170127f5ff1b75cd8035eb36
|
||||
WORKDIR /me-fit
|
||||
RUN apt-get update && apt-get install -y ca-certificates && echo "" > .env
|
||||
COPY --from=builder_go /me-fit/me-fit ./me-fit
|
||||
|
||||
Reference in New Issue
Block a user