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 a Docker build #26

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Add a Docker build #26

wants to merge 1 commit into from

Conversation

rhuss
Copy link

@rhuss rhuss commented Nov 24, 2022

Call the script with

build_image.sh <twitter-handle-without-@>

This is a prototype.

Things to improve:

  • Add options to import with or without circles (currently circles are imported)
  • Add a switch to prevent npm start to check for updates to make it a real sealed image
  • Add more options to mangle the meta-data, currently only the name is set.

The resulting image can be pushed and then started e.g. via docker run -p 8080:8080 <image-name> or can be hosted directly e.g. on Google Cloud Run or IBM Code Engine where you only pay for the deployment when you use it.

Call the script with

  build_image.sh <path-to-twitter-export-zip> <twitter-handle-without-@> <full-container-image-name>

This is a protoype.

Still things to improve:

* Add options to import with or without circles (currently circles are imported)
* Add a switch to prevent `npm start` to check for updates to make it a real sealed image

The resulting image can be pushed and then started e.g. via `docker run -p 8080:8080 <image-name>`
@aarongustafson aarongustafson marked this pull request as draft December 6, 2022 20:00
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.

None yet

1 participant