15 lines
184 B
Docker
15 lines
184 B
Docker
|
FROM golang:1.21.6
|
||
|
|
||
|
WORKDIR /app
|
||
|
|
||
|
COPY *.go ./
|
||
|
COPY *.mod ./
|
||
|
COPY *.sum ./
|
||
|
COPY lib ./lib
|
||
|
COPY public ./public
|
||
|
COPY templates ./templates
|
||
|
|
||
|
RUN go build .
|
||
|
|
||
|
ENTRYPOINT ["/app/tracker"]
|