Açıklama Yok
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Dockerfile 572B

123456789101112131415161718
  1. # Use an official Python runtime as a parent image
  2. FROM python:3.8.10
  3. # Set the working directory in the container
  4. WORKDIR /opt/attendance
  5. # Copy the current directory contents into the container at /opt/attendance
  6. COPY . .
  7. # Install any needed packages specified in requirements.txt
  8. RUN apt update && apt install -y libgl1-mesa-glx && apt --fix-broken install && \
  9. pip install --no-cache-dir -r requirements.txt
  10. # Make port 5003 available to the world outside this container
  11. EXPOSE 5003
  12. # Run app.py when the container launches
  13. CMD ["python", "./attendence.py"]