first commit

This commit is contained in:
ferdzo
2025-08-06 21:12:23 +02:00
commit b5115db152
18 changed files with 647 additions and 0 deletions

13
deployment/Dockerfile Normal file
View File

@@ -0,0 +1,13 @@
FROM golang:latest as build
WORKDIR /app
COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build -o ferurl
FROM alpine:latest
WORKDIR /app
COPY --from=build /app/ferurl /app/ferurl
COPY web/ /app/web/
EXPOSE 3000
ENTRYPOINT [ "/app/ferurl" ]