This commit is contained in:
2023-12-01 09:56:06 +01:00
commit 1f4a477077
46 changed files with 14153 additions and 0 deletions

25
Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM golang:1-alpine AS builder
RUN apk add --no-cache tzdata ca-certificates openssl make git tar coreutils bash
COPY . /buildsrc
RUN cd /buildsrc && make build
FROM alpine:latest
RUN apk add --no-cache tzdata
COPY --from=builder /buildsrc/_build/bunny_backend /app/server
RUN mkdir /data
WORKDIR /app
EXPOSE 80
CMD ["/app/server"]