Skip to content

Commit

Permalink
install inotify-tools in main image, not uwsgi build image
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Apr 28, 2024
1 parent 0622bf1 commit 6cbb1e0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ RUN \
'libcap-dev (>= 1:2.66)' \
'libpcre3-dev (>= 2:8.39)' \
'uwsgi-core (>= 2.0.21)' \
'uwsgi-src (>= 2.0.21)' \
'inotify-tools (>= 3.22.6.0)'
'uwsgi-src (>= 2.0.21)'

/usr/bin/uwsgi --build-plugin "/usr/src/uwsgi/plugins/psgi"
EOT
Expand Down Expand Up @@ -51,7 +50,8 @@ RUN \
rm -f /etc/apt/apt.conf.d/docker-clean
apt-get update
apt-get satisfy -y --no-install-recommends \
'uwsgi-core (>= 2.0.21)'
'uwsgi-core (>= 2.0.21)' \
'inotify-tools (>= 3.22.6.0)'
EOT

COPY --from=build-uwsgi /psgi_plugin.so /usr/lib/uwsgi/plugins/psgi_plugin.so
Expand Down

0 comments on commit 6cbb1e0

Please sign in to comment.