feat: working docker image and compose file

This commit is contained in:
2025-02-24 19:44:19 +00:00
parent 43092fa4f5
commit 2115da85b5
7 changed files with 68 additions and 7 deletions

15
backend/Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM golang
WORKDIR /app
# Dependency management
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /app/haystack
EXPOSE 3040
CMD ["/app/haystack"]