chore: move build arguments after the from in dockerfile

This commit is contained in:
Stavros
2025-05-28 17:26:04 +03:00
parent bbaa036d85
commit f3acec7daf

View File

@@ -1,8 +1,3 @@
# Arguments
ARG VERSION
ARG COMMIT_HASH
ARG BUILD_TIMESTAMP
# Site builder
FROM oven/bun:1.2.14-alpine AS frontend-builder
@@ -27,6 +22,10 @@ RUN bun run build
# Builder
FROM golang:1.24-alpine3.21 AS builder
ARG VERSION
ARG COMMIT_HASH
ARG BUILD_TIMESTAMP
WORKDIR /tinyauth
COPY go.mod ./