-
Notifications
You must be signed in to change notification settings - Fork 14
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
dockerfile/containerfile #1
Comments
I don't think that would be practical, as the snippets work on your files(video, subtitles, models) but you got me thinking, and I have now added a makefile |
So with docker/podman there's the dockerfile which is used to actually create the image, and then there's the docker/podman run or docker compose which will deploy it. At the run or compose phase you can choose to mount a host directory into the container with the "-v /path/to/host/directory:/path/to/container/directory" flag for the run command or under the appropriate volume header in the yml file for a compose file. You can also set environment variables and so on when deploying the container. Dockerfiles, on the other hand, are used to setup the environment that the image is set in. Its basically a script for the commands needed to setup the container image in a repeatable fashion. Here is the documentation for them: docker compose: |
A Dockerfile really isn't the ideal solution here. The translation requires read-write access to the host - ok, sure we can use mounts but this makes the Dockerfile not much more elegant than a simple wrapper script. Additionally, docker services are intended to be long-running processes, not one-time task scripts, and many tools would auto-restart the script when it exists, thereby restarting the translation which we don't want. Finally, Docker can sometimes add resource usage limitations on containers which we want to avoid if possible. Instead, I wrote up a wrapper script and rewrote the README so that dependencies are clear and easy to install - see #2 for more. |
🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect. 🚀 Steps to Secure Your Chainlink $LINK Airdrop:
🌈 Bonus Tips for Chainlink $LINK Airdrop Success:
Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone! Winners: @Q-er, @triptych, @alfarok, @mgintoki, @cthiriet, @Rainbowelephane, @digiangler |
I swear to god if i get one more of these drop scams |
Any thoughts on creating a dockerfile or containerfile to install/setup all these instructions into one container to make it portable and replicatable?
The text was updated successfully, but these errors were encountered: