Skip to content

Commit

Permalink
feat: add docker-compose.yml (#19)
Browse files Browse the repository at this point in the history
* feat: add docker-compose.yml

* feat: add docker-compose.yml

* feat: add docker-compose.yml
  • Loading branch information
AyushSehrawat authored Jul 16, 2024
1 parent 18e3d51 commit e6c2574
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ COPY --from=frontend /app/build /riven/build
COPY --from=frontend /app/node_modules /riven/node_modules
COPY --from=frontend /app/package.json /riven/package.json

COPY version.txt entrypoint.sh /riven/
COPY version.txt /riven/

ENTRYPOINT ["ORIGIN=$ORIGIN", "BACKEND_URL=$BACKEND_URL", "node", "/riven/build"]
3 changes: 2 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ services:
restart: unless-stopped
tty: true
environment:
- BACKEND_URL=http://127.0.0.1:8080
- ORIGIN=http://localhost:3000 # No trailing slash, read more below
- BACKEND_URL=http://127.0.0.1:8080 # No trailing slash, read more below
- TZ=America/New_York
ports:
- '3000:3000'

0 comments on commit e6c2574

Please sign in to comment.