This commit is contained in:
Acid
2026-05-13 23:05:53 -04:00
parent 7f65419a74
commit 5202715dba
3 changed files with 32 additions and 0 deletions
+2
View File
@@ -5,3 +5,5 @@ db.sqlite3
__pycache__ __pycache__
**__pycache__** **__pycache__**
test.py test.py
binary
tmp/
+20
View File
@@ -0,0 +1,20 @@
FROM golang:alpine AS builder
WORKDIR /app
COPY go.mod ./
COPY *.go ./
RUN go build -o server .
FROM alpine:latest
WORKDIR /app
COPY --from=builder /app/server .
COPY static/ static/
COPY templates/ templates/
EXPOSE 8080
CMD ["./server"]
+10
View File
@@ -0,0 +1,10 @@
services:
website:
build:
context: .
dockerfile: Dockerfile
image: acidarchon.com
container_name: acidarchon.com
ports:
- 8088:8080
restart: unless-stopped