18 lines
239 B
Docker
18 lines
239 B
Docker
FROM golang:1.23.2
|
|
|
|
WORKDIR /app
|
|
|
|
COPY *.go ./
|
|
COPY *.mod ./
|
|
COPY *.sum ./
|
|
|
|
COPY lib ./lib
|
|
COPY log ./log
|
|
COPY public ./public
|
|
COPY routes ./routes
|
|
COPY templates ./templates
|
|
|
|
RUN go build .
|
|
|
|
ENTRYPOINT ["/app/tracker"]
|