change from pip to built-in packages

This commit is contained in:
2026-03-24 14:52:53 -07:00
parent 65fd0ae0bb
commit 0a908ec55c

View File

@ -6,16 +6,12 @@ FROM php:apache
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
python3 \ python3 \
python3-pip \ python3-pip \
python3-flask \
python3-yaml \
nginx \ nginx \
supervisor \ supervisor \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Install Python dependencies
# (add any other libraries you need here)
RUN pip3 install --no-cache-dir \
flask \
pyyaml
# Copy your application code & config files # Copy your application code & config files
# Website Files # Website Files
COPY www/ /var/www/html COPY www/ /var/www/html