Skip to content

Commit

Permalink
ci: fix deocker image
Browse files Browse the repository at this point in the history
  • Loading branch information
oknozor committed Nov 28, 2023
1 parent bd6f79f commit 5b71848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,10 @@ USER cocogitto
# Install binaries
COPY --from=builder /cocogitto_github_app /usr/bin/cocogitto_github_app

# Install assets
COPY config.toml .

EXPOSE 8080

COPY ./docker/entrypoint.sh /entrypoint.sh
COPY ./Rocket.toml .
COPY ./config.example.toml ./config.toml

CMD ["cocogitto_github_app"]
ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion config.example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ address = "0.0.0.0"
port = 8080
github_private_key = """
-----BEGIN RSA PRIVATE KEY-----
My private key here
Should be set via env `COG_github_private_key` use this for development only
-----END RSA PRIVATE KEY-----
"""

0 comments on commit 5b71848

Please sign in to comment.