You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 11, 2018. It is now read-only.
I've been using the boiler plate version 3.0.0-alpha.3 for my project.
I still have the raw un-changed version which I used to create a docker container just for testing.
After I convert the app into a docker image successfully and also run it, the logs show 'webpack compiled successfully', but when i try to hit the url (localhost:3000), the browser just keeps loading and loading. It fetches the name of the project right which you can see on the browser tab, but the page never really loads and the browser spinner stops to a blank page after 3-5 mins.
I use this command to create container from image:
docker run -p 3000:3000 -d
Dockerfile:
FROM nonprod.dtr.trusted.visa.com/cybs/base-rhel72
RUN yum install -y nodejs && yum clean all
RUN npm config set proxy null; npm config set https-proxy null; npm config set strict-ssl false;
npm config set registry <corporate_registry>
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
COPY package.json /usr/src/app
RUN npm install node-sass --sass-binary-site=<corporate-url>
RUN npm install
COPY . /usr/src/app
EXPOSE 3000
ENTRYPOINT ["npm", "start"]
What could be the issue? Any ideas?
UPDATE:
I tried grabbing the latest code as a new project and creating a docker container and it worked like a charm. Now the only thing left is to find out what significantly changed from version 3.0.0-alpha.3 to the latest version I downloaded today. Help on that would be GREAT! Thanks!
The text was updated successfully, but these errors were encountered:
So the new version works fine, but not the old one, I'm not sure what is causing it, there are plenty configurations happening so it's tough to debug what's breaking it since there are no server logs.
# for freeto subscribe to this conversation on GitHub.
Already have an account?
#.
I've been using the boiler plate version 3.0.0-alpha.3 for my project.
I still have the raw un-changed version which I used to create a docker container just for testing.
After I convert the app into a docker image successfully and also run it, the logs show 'webpack compiled successfully', but when i try to hit the url (localhost:3000), the browser just keeps loading and loading. It fetches the name of the project right which you can see on the browser tab, but the page never really loads and the browser spinner stops to a blank page after 3-5 mins.
I use this command to create container from image:
docker run -p 3000:3000 -d
Dockerfile:
What could be the issue? Any ideas?
UPDATE:
I tried grabbing the latest code as a new project and creating a docker container and it worked like a charm. Now the only thing left is to find out what significantly changed from version 3.0.0-alpha.3 to the latest version I downloaded today. Help on that would be GREAT! Thanks!
The text was updated successfully, but these errors were encountered: