diff --git a/Dockerfile b/Dockerfile index 42a02d8..5e74232 100644 --- a/Dockerfile +++ b/Dockerfile @@ -40,8 +40,6 @@ RUN apk add --no-cache \ curl \ git \ openssh \ - python3 \ - py3-pip \ php-pear \ gcc g++ make autoconf libtool linux-headers @@ -52,11 +50,10 @@ RUN docker-php-ext-configure gd --with-freetype --with-jpeg && \ docker-php-ext-enable redis # Clean up build tools -RUN apk del gcc g++ make autoconf php-dev libtool +RUN apk del gcc g++ make autoconf libtool # Install Ansible -RUN pip install --no-cache-dir ansible - +RUN apk add --no-cache ansible # Copy built app from previous stage COPY --from=build /app /var/www