Skip to content

Commit

Permalink
change the docker file to reflect the example file structure
Browse files Browse the repository at this point in the history
  • Loading branch information
zephyrz73 committed Aug 27, 2020
1 parent 35af133 commit 97ea55b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws-ts-netlify-cms-and-oauth/cms-oauth/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM golang:1.13-alpine3.12 as buildenv
RUN apk add --no-cache build-base git

WORKDIR /go/src/github.com/zephyrz73/netlify-cms-oauth-provider-go
WORKDIR /go/src/github.com/zephyrz73/aws-ts-netlify-cms-and-oauth/cms-oauth
COPY ./ ./
RUN go mod download

Expand All @@ -13,6 +13,6 @@ FROM alpine:3.12

RUN apk --no-cache add ca-certificates

COPY --from=buildenv /go/bin/netlify-cms-oauth-provider-go /go/bin/netlify-cms-oauth-provider-go
COPY --from=buildenv /go/bin/aws-ts-netlify-cms-and-oauth /go/bin/aws-ts-netlify-cms-and-oauth

CMD ["/go/bin/netlify-cms-oauth-provider-go", "--logtostderr"]

0 comments on commit 97ea55b

Please sign in to comment.