Skip to content
This repository has been archived by the owner on Mar 10, 2023. It is now read-only.

Commit

Permalink
of-builder fix entrypoint
Browse files Browse the repository at this point in the history
Signed-off-by: Alistair Hey <alistair@heyal.co.uk>
  • Loading branch information
Waterdrips authored and alexellis committed Nov 27, 2020
1 parent 702f6c5 commit 6f45189
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions of-builder/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ RUN mkdir -p /home/app/.aws/
WORKDIR /home/app

COPY --from=build /usr/local/bin/docker-credential-ecr-login /usr/local/bin/
COPY --from=build /go/src/github.com/openfaas/openfaas-cloud/of-builder/of-builder home/app/
COPY --from=build /go/src/github.com/openfaas/openfaas-cloud/of-builder/of-builder .

RUN chown -R app /home/app

USER app
EXPOSE 8080
VOLUME /tmp/

ENTRYPOINT ["/home/app/of-builder"]
ENTRYPOINT ["./of-builder"]

0 comments on commit 6f45189

Please sign in to comment.