- Introduced .editorconfig for consistent coding styles across the project. - Added .golangci.yml for Go linting configuration. - Updated AGENTS.md to clarify project structure and components. - Enhanced CONTRIBUTING.md with Makefile usage for common tasks. - Updated Dockerfiles to use Go 1.24 and improved build instructions. - Refined README.md and deployment documentation for clarity. - Added testing documentation in testing.md for backend and frontend tests. - Introduced Makefile for streamlined development commands and tasks.
14 lines
200 B
Docker
14 lines
200 B
Docker
FROM golang:1.24-alpine
|
|
|
|
WORKDIR /hnh-map
|
|
|
|
COPY go.mod go.sum ./
|
|
RUN go mod download
|
|
|
|
COPY . .
|
|
RUN go build -o hnh-map ./cmd/hnh-map
|
|
|
|
EXPOSE 3080
|
|
|
|
CMD ["/hnh-map/hnh-map", "-grids=/map"]
|