-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
breaking: migrate to geeksforsocialchange
- Loading branch information
WheresAlice
committed
Jun 29, 2022
1 parent
9c50185
commit 6a0923c
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM golang:1.18-alpine as build | ||
WORKDIR /go/src/github.com/wheresalice/faceprox/ | ||
WORKDIR /go/src/github.com/geeksforsocialchange/faceprox/ | ||
COPY . . | ||
RUN apk --no-cache add ca-certificates | ||
RUN CGO_ENABLED=0 GOOS=linux go build -o faceprox . | ||
|
||
FROM scratch | ||
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ | ||
COPY --from=build /go/src/github.com/wheresalice/faceprox/faceprox / | ||
COPY --from=build /go/src/github.com/geeksforsocialchange/faceprox/faceprox / | ||
COPY Procfile / | ||
CMD ["/faceprox"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters