You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
- name: Slim down the container image
uses: kitabisa/[email protected]
env:
DSLIM_HTTP_PROBE: false
SLIM_EXPOSE: "8080,8000"
SLIM_INCLUDE_PATH: "/home/appuser"
with:
target: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
tag: ${{ github.sha }}-slim
args: "--expose ${SLIM_EXPOSE} --include-path ${SLIM_INCLUDE_PATH}"
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)
The text was updated successfully, but these errors were encountered:
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
- name: Slim down the container image
uses: kitabisa/[email protected]
env:
DSLIM_HTTP_PROBE: false
SLIM_EXPOSE: "8080,8000"
SLIM_INCLUDE_PATH: "/home/appuser"
with:
target: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ github.sha }}
tag: ${{ github.sha }}-slim
args: "--expose ${SLIM_EXPOSE} --include-path ${SLIM_INCLUDE_PATH}"
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)
The text was updated successfully, but these errors were encountered: