Skip to content

Commit

Permalink
fix docker image and doc
Browse files Browse the repository at this point in the history
  • Loading branch information
nzin committed Sep 1, 2023
1 parent d6675f8 commit a5e87d2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ FROM debian:bullseye-slim
RUN mkdir /app
WORKDIR /app

RUN apt-get update -y && apt-get install ca-certificates -y

COPY --from=go_builder /app/goliac ./goliac
COPY --from=npm_builder /app/browser/goliac-ui/dist ./browser/goliac-ui/dist

Expand Down
5 changes: 5 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,11 @@ then you just need to start it with

You can connect (eventually) to the UI for some statistic to `http://GOLIAC_SERVER_HOST:GOLIAC_SERVER_PORT`

### Using docker container

```
docker run -ti -v `pwd`/goliac-project-app.2023-07-03.private-key.pem:/app/private-key.pem -e GOLIAC_GITHUB_APP_ID=355525 -e GOLIAC_GITHUB_APP_PRIVATE_KEY_FILE=/app/private-key.pem -e GOLIAC_GITHUB_APP_ORGANIZATION=goliac-project -e GOLIAC_SERVER_GIT_REPOSITORY=https://github.com/goliac-project/teams -e GOLIAC_SERVER_HOST=0.0.0.0 -p 18000:18000 ghcr.io/nzin/goliac serve
```

## Syncing Users from an external source

Expand Down

0 comments on commit a5e87d2

Please sign in to comment.