Skip to content

Commit

Permalink
Fixed dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kostis-codefresh committed Mar 10, 2022
1 parent 8a73a60 commit 428c82a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ COPY . .
RUN CGO_ENABLED=0 GOOS=linux go build

FROM scratch
COPY --from=build-env /tmp/simple-go-app/helm-promotion-sample-app /app/helm-promotion-sample-app
COPY --from=build-env /tmp/simple-go-app/gitops-promotion-source-code /app/gitops-promotion-source-code

COPY settings.ini /config/settings.ini
# COPY settings.ini /config/settings.ini


EXPOSE 8080
CMD ["/app/helm-promotion-sample-app"]
CMD ["/app/gitops-promotion-source-code"]
Binary file added gitops-promotion-source-code
Binary file not shown.

0 comments on commit 428c82a

Please sign in to comment.