blob: 09651cbce1b1d625bab1571984e6ba996743bdbb (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
FROM golang:1.23
WORKDIR /app
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN go build -o /app/something
EXPOSE 8080
CMD ["/app/something", "--server", "--migrate", "--port", "8080", "--template-path", "/app/templates", "--database-path", "/app/db/something.db", "--static-path", "/app/static", "--scheduler"]
|