🍝 2025 edit 🍝: here's the oneliner everyone had been looking for:
$ docker run -it -p 8080:8080 palladius/pastang rails server -p 8080 -b 0.0.0.0
This is the brand new Pasta 2022 app.
After this, you'll never have to ask yourself: does Spaghetti Bolognese exist? Does pesto go with agnolotti?
# Gives you access to shell, but still you need to run the app
docker run -it -p 8080:8080 palladius/pastang
# Alternative, here's the perfect one-liner to get it all started in DEV:
docker run -it -p 8080:8080 palladius/pastang rails server -p 8080 -b 0.0.0.0
You can also make it work in PROD (fixed from v0.10.6)
# I've written this 2y ago, I believe RICCARDO_SECRET_KEY_BASE is nothing else than RAILS_MASTER_KEY
$ docker run -it -p 8080:8080 \
--env RAILS_ENV='production' \
--env RICCARDO_SECRET_KEY_BASE='<your-prod-key>' \
palladius/pastang ./entrypoint-8080.sh
Note you can generate any random key with rails: EDITOR=vim rails secrets:edit
Code is hosted here: https://github.com/palladius/pasta
Content type
Image
Digest
sha256:fdbf4e80b…
Size
340.9 MB
Last updated
over 3 years ago
docker pull palladius/pastang