123456789101112131415161718 |
- # Dockerfile
- #FROM golang:1.17.1 #####Enable when you want to test with bash
- FROM golang:1.17.1-alpine3.14
- WORKDIR /app/source
- COPY . .
- RUN apk update && apk add git && apk --no-cache --update add build-base
- #RUN apt-get update && apt-get install git #####Enable when you want to test with bash
- RUN go build -o metarare-app main.go
- EXPOSE 9000
- CMD ["./metarare-app"]
|