moved to Docker

This commit is contained in:
2025-02-24 18:53:25 -05:00
parent 9626426455
commit c5cd1a4399
13 changed files with 137 additions and 33 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM golang:1.23.6-alpine
WORKDIR /app
RUN mkdir -p /app/data
COPY batched-server/ ./
COPY shared/ ./shared/
RUN go mod edit -replace shared=/app/shared
# Download dependencies
RUN go mod tidy
RUN go mod download
RUN go build -o batched-server .
EXPOSE 15521
CMD ["./batched-server", "15521"]