12 lines
187 B
Docker
Executable file
12 lines
187 B
Docker
Executable file
FROM golang:1.17-alpine
|
|
|
|
RUN apk update && apk add make git bash
|
|
|
|
WORKDIR /var/www/status
|
|
|
|
COPY . .
|
|
RUN make
|
|
|
|
CMD ["/bin/bash", "-c", "go run generate.go && go run main.go"]
|
|
|
|
EXPOSE 8888
|