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

Add files needed to build and run application with Docker #29

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Add files needed to build and run application with Docker #29

wants to merge 5 commits into from

Conversation

joshdavidson
Copy link

Adding a Dockerfile and start.sh script that can be used to buiild a Docker image and run the application as a Docker container.

To build the Docker image, run the following command: docker build -t things-in-space:latest --force-rm .

To run the Docker container: docker run -d --name ThingsInSpace --restart unless-stopped -p 8080:80 things-in-space

joshdavidson and others added 5 commits November 25, 2019 17:26
This will allow building a Docker image to run the app in.  To build, run the following command:
docker build -t things-in-space:latest --force-rm .

After building the image, the command to run the Docker container is:
docker run -d --name ThingsInSpace --restart unless-stopped -p 8080:80 things-in-space
Adding start.sh file that is utilized by Docker image
Now it shows short historical description of selected object taken from NASA Space Science Data Coordinated Archive (provided that entry exists) with direct link to the entry for additional information.
This vertex attribute was used without being enabled.

On almost every platform, it so happened that the attributes here were
being assigned integer values that made the app work correctly. However,
this vertex attribute was actually relying on a vertex attrbute enabled
for one of the other draw calls. In Chrome on Mac, the vertex attributes for
the picking shader are 2,0,1 (or something like that), while they are
2,1,0 on Firefox. This seems like it's probably a property of the GL
driver; maybe Firefox works around it.
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 this pull request may close these issues.

3 participants