Dockerfile fix

This commit is contained in:
Atridad Lahiji 2023-12-27 12:50:40 -07:00
parent ead52d8740
commit e9f16cfda3
No known key found for this signature in database

View file

@ -2,12 +2,16 @@ FROM golang:1.21.5
WORKDIR /app
ADD . /lib
COPY go.mod .
COPY go.sum .
COPY main.go .
RUN go mod download
COPY ./lib ./lib
RUN go build .
CMD [ "./himbot" ]