Skip to content

Commit

Permalink
fix(docker): docker container can't start
Browse files Browse the repository at this point in the history
Also corrects CLI instruction to start the production docker image
  • Loading branch information
adeacetis authored and Tucsky committed Oct 1, 2024
1 parent 5fa7c90 commit f33fa9c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,9 @@ build your own aggr client docker:
```bash
git clone https://github.com/Tucsky/aggr
cd aggr
docker build -t aggr-chart .
docker-compose -f "docker\docker-compose.yml" up -d --build # prod
```
you need to set the API_URL as environment variable for your own installation, if you want to use that.
If you want to use aggr-server as your local data source, load the docker-compose.dev.yml instead.

## Configuration

Expand Down
1 change: 0 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,5 @@ COPY ./conf/nginx.conf /temp/nginx.conf
RUN envsubst / < /temp/nginx.conf > /etc/nginx/conf.d/default.conf

EXPOSE 80
USER guest

CMD [ "nginx", "-g", "daemon off;" ]

0 comments on commit f33fa9c

Please sign in to comment.