You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
235 B
11 lines
235 B
3 years ago
|
FROM alpine:3.11.6 AS build
|
||
|
RUN apk add --no-cache go
|
||
|
WORKDIR /app
|
||
|
COPY . .
|
||
|
RUN CGO_ENABLED=1 GOOS=linux go build -o app -tags musl cw-deals-watcher
|
||
|
|
||
|
FROM alpine:3.11.6
|
||
|
WORKDIR /app
|
||
|
COPY --from=build /app/app /app/app
|
||
|
CMD ["/app/app"]
|