chore: enable tests in dockerfile

This commit is contained in:
2024-09-26 22:52:26 +02:00
committed by Tim Wundenberg
parent 6279a28061
commit e10e7c9357

View File

@@ -2,7 +2,7 @@ FROM golang:1.23.1@sha256:4f063a24d429510e512cc730c3330292ff49f3ade3ae79bda8f84a
WORKDIR /me-fit WORKDIR /me-fit
RUN go install github.com/a-h/templ/cmd/templ@latest RUN go install github.com/a-h/templ/cmd/templ@latest
COPY . ./ COPY . ./
RUN templ generate && go build -o /me-fit/me-fit . RUN templ generate && go test ./... && go build -o /me-fit/me-fit .
FROM node:22.9.0@sha256:cbe2d5f94110cea9817dd8c5809d05df49b4bd1aac5203f3594d88665ad37988 AS builder_node FROM node:22.9.0@sha256:cbe2d5f94110cea9817dd8c5809d05df49b4bd1aac5203f3594d88665ad37988 AS builder_node