Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Dockerfile 497B

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/bussinesscards
  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 mainrequirements.txt
  9. # Make port 80 available to the world outside this container
  10. EXPOSE 1112
  11. # Run app.py when the container launches
  12. CMD ["python", "./Business_cards.py"]