Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

Dockerfile 466B

1234567891011121314151617
  1. # Use an official Python runtime as a parent image
  2. FROM frolvlad/alpine-python3:latest
  3. # Set the working directory to /app
  4. WORKDIR /app
  5. # Copy the current directory contents into the container at /app
  6. ADD . /app
  7. # Install any needed packages specified in requirements.txt
  8. RUN pip3 install -r requirements.txt
  9. # Define environment variable
  10. ENV NAME magic-judge-telegram-bot
  11. # Run app.py when the container launches
  12. CMD ["python3", "magic-judge-telegram-bot.py"]