fix: remove tailwind from dockerfile and add podman-build command
Build / build (push) Successful in 33s

This commit is contained in:
2026-05-22 22:31:10 +02:00
parent d481be04a7
commit b71072f6c8
2 changed files with 7 additions and 5 deletions
+3 -5
View File
@@ -1,5 +1,5 @@
FROM golang:1.23-alpine as build_go
RUN apk add --no-cache curl npm
FROM golang:1.25-alpine as build_go
RUN apk add --no-cache curl
WORKDIR /app
@@ -9,15 +9,13 @@ RUN go mod download
COPY . .
RUN go install github.com/a-h/templ/cmd/templ@latest
RUN npm install tailwindcss @tailwindcss/cli
RUN templ generate
RUN npx @tailwindcss/cli -i ./cmd/web/assets/css/input.css -o ./cmd/web/assets/css/output.css
RUN go build -o main cmd/main.go
# Stage 2, distribution container
FROM golang:1.23-alpine
FROM golang:1.25-alpine
EXPOSE 8080
VOLUME /sorted
VOLUME /frontend