diff --git a/webapp/docker-compose.yml b/webapp/docker-compose.yml index b579a56..7429140 100644 --- a/webapp/docker-compose.yml +++ b/webapp/docker-compose.yml @@ -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: diff --git a/webapp/grebi_ui/Dockerfile b/webapp/grebi_ui/Dockerfile index 9e8e9c4..2304a71 100644 --- a/webapp/grebi_ui/Dockerfile +++ b/webapp/grebi_ui/Dockerfile @@ -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 diff --git a/webapp/grebi_ui/entrypoint.dockersh b/webapp/grebi_ui/entrypoint.dockersh index b3ff778..68552b4 100644 --- a/webapp/grebi_ui/entrypoint.dockersh +++ b/webapp/grebi_ui/entrypoint.dockersh @@ -1,6 +1,6 @@ #!/bin/bash -cd /opt/ols4-frontend +cd /opt/grebi_ui echo Building frontend. REACT_APP_ENV: $REACT_APP_ENV