Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

using docker-compose file and ending with a blank page for zally web-ui #1406

Open
franckleveque opened this issue Aug 3, 2022 · 3 comments · May be fixed by #1509
Open

using docker-compose file and ending with a blank page for zally web-ui #1406

franckleveque opened this issue Aug 3, 2022 · 3 comments · May be fixed by #1509
Assignees

Comments

@franckleveque
Copy link

Hi,

I have tried to use the docker compose file of the repository, but it seems the web ui doesn't work.

The only thing I have is a blank screen :

image

Console Show only :
bundle.js:1 Uncaught SyntaxError: Unexpected token '<' (at bundle.js:1:1)

@nitin-vavdiya
Copy link

Hey,
Change web-ui docker file as below:

FROM registry.opensource.zalan.do/library/node-18-alpine:latest
MAINTAINER "http://zalando.github.io/"
COPY ./ ./
RUN yarn
RUN yarn build
EXPOSE 3000
CMD ["yarn", "start"]

after that go to the root directory of the project and run the below command

  1. docker-compose build
  2. docker-compose up

It is working for me with about docker file:
image

@eddpascoal
Copy link

eddpascoal commented Oct 16, 2024

@nitin-vavdiya thanks for the workaround.. it works!
Without this workaround the issue remains. 🤔 wonder why this approach was not applied to master. Any reason why?

@nitin-vavdiya
Copy link

@nitin-vavdiya thanks for the workaround.. it works! Without this workaround the issue remains. 🤔 wonder why this approach was not applied to master. Any reason why?

Created PR: #1509

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants