forked from Team-Ortix/StatusApp
11 lines
174 B
Docker
11 lines
174 B
Docker
|
FROM golang:1.14.2 AS build
|
||
|
WORKDIR /root/
|
||
|
COPY . .
|
||
|
RUN go build -o Status .
|
||
|
|
||
|
FROM golang:1.14.2
|
||
|
WORKDIR /root/
|
||
|
COPY --from=build /root/Status .
|
||
|
EXPOSE 8080
|
||
|
CMD ["./ASUBot"]
|