mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2025-10-29 13:15:46 +00:00
chore: move build arguments after the from in dockerfile
This commit is contained in:
@@ -1,8 +1,3 @@
|
|||||||
# Arguments
|
|
||||||
ARG VERSION
|
|
||||||
ARG COMMIT_HASH
|
|
||||||
ARG BUILD_TIMESTAMP
|
|
||||||
|
|
||||||
# Site builder
|
# Site builder
|
||||||
FROM oven/bun:1.2.14-alpine AS frontend-builder
|
FROM oven/bun:1.2.14-alpine AS frontend-builder
|
||||||
|
|
||||||
@@ -27,6 +22,10 @@ RUN bun run build
|
|||||||
# Builder
|
# Builder
|
||||||
FROM golang:1.24-alpine3.21 AS builder
|
FROM golang:1.24-alpine3.21 AS builder
|
||||||
|
|
||||||
|
ARG VERSION
|
||||||
|
ARG COMMIT_HASH
|
||||||
|
ARG BUILD_TIMESTAMP
|
||||||
|
|
||||||
WORKDIR /tinyauth
|
WORKDIR /tinyauth
|
||||||
|
|
||||||
COPY go.mod ./
|
COPY go.mod ./
|
||||||
|
|||||||
Reference in New Issue
Block a user