nthmail/Dockerfile
Guilherme Rugai Freire b5f2e37ff8
update golang and deps
2025-08-28 10:13:19 -03:00

16 lines
260 B
Docker

FROM golang:1.23 as build
RUN apt-get update && apt-get upgrade -y
RUN apt-get install make sqlite3 -y
WORKDIR /app
ENV DB_PATH=/data/db.db
RUN go install github.com/a-h/templ/cmd/templ@latest
COPY . .
RUN go mod download
RUN make -B
CMD ["./bin/server"]