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

Adds Dockerfile #5

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

Adds Dockerfile #5

wants to merge 2 commits into from

Conversation

parithosh
Copy link

The PR adds a basic dockerfile and allows one to run the slot-finder locally or on a server. This dockerfile has been deployed here: https://symphoniousishardtospell.indenwolken.xyz/

Copy link
Owner

@ajsutton ajsutton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This works but probably nicer would be do run yarn build in a builder and then just copy the built files (in the doc folder) to an image with a static web server so you don't have to recompile on every startup.

Comment on lines +15 to +16
# Build the app
RUN yarn build
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think you need this if you're running yarn serve. yarn build builds so it can be served via a static web server. yarn serve will just build it at start up every time anyway.

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.

2 participants