Dockerfile

This commit is contained in:
Simon Martens
2025-05-19 18:09:50 +02:00
parent 7acff110c9
commit cd17fceb72
4 changed files with 20 additions and 1 deletions

9
Dockerfile Normal file
View File

@@ -0,0 +1,9 @@
FROM golang:1.24
WORKDIR /app
COPY . .
RUN go build
EXPOSE 8090
CMD ["./lenz-web"]

View File

@@ -19,7 +19,7 @@ const (
DEFAULT_BRANCH = "main"
DEFAULT_PORT = "8080"
DEFAULT_PORT = "8085"
DEFAULT_ADDR = "127.0.0.1"
DEFAULT_HTTPS = false

10
docker-compose.yml Normal file
View File

@@ -0,0 +1,10 @@
name: lenz-briefe
services:
all:
build: .
ports:
- "8085:8085"
volumes:
- lenz_briefe:/app/data
volumes:
lenz_briefe:

BIN
lenz-web Executable file

Binary file not shown.