added Docker build and auth_service.config.dev
This commit is contained in:
1 parent
1080c8fcd9
commit
0486f1ca60
3 files changed
+32
-5
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
FROM golang:1.24.3 AS build-stage
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN go build
|
||||
|
||||
FROM gcr.io/distroless/base-debian12 AS build-release-stage
|
||||
|
||||
WORKDIR /data
|
||||
|
||||
COPY --from=build-stage /app/auth_service /auth_service
|
||||
COPY users.json /data/users.json
|
||||
COPY auth_service.config /data/auth_service.config
|
||||
|
||||
ENTRYPOINT [ "/auth_service" ]
|
||||
Reference in new issue
Block a user