Files
PY_CK/Dockerfile
T
2024-10-05 22:02:26 +02:00

24 lines
507 B
Docker

# Use PHP with Apache as the base image
FROM python:latest
# Install Additional System Dependencies
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y \
libgl1
# Clear cache
RUN apt-get autoremove
RUN apt-get clean && rm -rf /var/lib/apt/lists/*
#Copy Project
COPY . /app
# Install any needed dependencies specified in requirements.txt
RUN pip install --no-cache-dir -r /app/requirements.txt
#Start Container
RUN chmod +x /app/start.sh
CMD ["/bin/bash","/app/start.sh"]
WORKDIR /app