mirror of
https://github.com/vcscsvcscs/GenerationsHeritage.git
synced 2025-08-14 06:49:05 +02:00
Merge pull request #1 from vcscsvcscs/feature/create-kubernetes-deployments
Feature Create kubernetes deployments
This commit is contained in:
13
backend/dockerfile
Normal file
13
backend/dockerfile
Normal file
@@ -0,0 +1,13 @@
|
||||
FROM golang:1.22-alpine as build
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN GOOS=linux GOARCH=arm64 go build -o backend
|
||||
|
||||
FROM busybox
|
||||
|
||||
COPY --from=build /app/backend /app/
|
||||
|
||||
CMD [ "/app/backend" ]
|
Reference in New Issue
Block a user