Skip to content

Commit

Permalink
fix ui docker deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesamcl committed Jan 14, 2025
1 parent 6d70dbb commit 6ead246
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion webapp/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ services:
grebi-ui:
image: ghcr.io/ebispot/grebi_ui:dev
ports:
- 8080:8080
- 3000:8080
environment:
- PUBLIC_URL=/
- REACT_APP_APIURL=http://localhost:8090
- REACT_APP_ENV=ebi
grebi-api:
image: ghcr.io/ebispot/grebi_api:dev
ports:
Expand Down
2 changes: 1 addition & 1 deletion webapp/grebi_ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM ubuntu:22.04
RUN apt update && apt install -y curl gpg

# node
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash
RUN curl -sL https://deb.nodesource.com/setup_18.x | bash

# caddy
RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg
Expand Down
2 changes: 1 addition & 1 deletion webapp/grebi_ui/entrypoint.dockersh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash

cd /opt/ols4-frontend
cd /opt/grebi_ui

echo Building frontend. REACT_APP_ENV: $REACT_APP_ENV

Expand Down

0 comments on commit 6ead246

Please sign in to comment.