This repository has been archived on 2022-10-02. You can view files and clone it, but cannot push or open issues or pull requests.
dcbot-old/Dockerfile

15 lines
237 B
Docker

FROM golang:alpine
ENV MODE=production
WORKDIR /go/src/app
COPY . .
RUN go build -o main .
EXPOSE 8080
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.2.1/wait ./wait
RUN chmod +x ./wait
CMD ./wait && ./main