mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 23:01:34 +00:00
init (#5)
This commit is contained in:
parent
4f174ec3a8
commit
b68151035a
81 changed files with 6263 additions and 545 deletions
15
apps/control-plane/Dockerfile
Normal file
15
apps/control-plane/Dockerfile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FROM golang:1.26-alpine AS build
|
||||
|
||||
WORKDIR /src
|
||||
COPY apps/control-plane ./apps/control-plane
|
||||
|
||||
WORKDIR /src/apps/control-plane
|
||||
RUN CGO_ENABLED=0 GOOS=linux go build -o /out/control-plane ./cmd/control-plane
|
||||
|
||||
FROM alpine:3.21
|
||||
|
||||
WORKDIR /app
|
||||
COPY --from=build /out/control-plane /usr/local/bin/control-plane
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["control-plane"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue