kitabisa / docker-slim-action

GitHub Action to minify container image by up to 30x (and for compiled languages even more) making it secure too!
MIT License
22 stars 5 forks source link

Run action with additional args #14

Open hannes-sistemica opened 3 months ago

hannes-sistemica commented 3 months ago

Hi,

locally I can run "slim build --expose 8080 --expose 8000 --include-path /home/appuser --include-path /srv geniepy/demo" which gives me a runnable container. However when I execute

I does not consider the args, so that the resulting image (24MB!) does not work as expected, as there is too many things removed. I have caddy running, some static html and a FlaskAPI backend (reflex). Actually you I try to package a Python Reflex app (https://geniepy.com)