説明なし
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

Dockerfile 485B

1234567891011121314151617
  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 /usr/src/app
  6. COPY . .
  7. # Install any needed packages specified in requirements.txt
  8. RUN pip install --no-cache-dir -r requirements.txt
  9. # Make port 80 available to the world outside this container
  10. EXPOSE 5003
  11. # Run app.py when the container launches
  12. CMD ["python", "./attendence.py"]