Advertisement
Guest User

Untitled

a guest
Mar 30th, 2024
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. FROM python:3.8
  2.  
  3. # Set the working directory in the container
  4. WORKDIR /app
  5.  
  6. # Copy the current directory contents into the container at /app
  7. COPY . /app
  8.  
  9. # Install Flask
  10. RUN pip install Flask
  11.  
  12. # Expose the port that Flask will run on
  13. EXPOSE 5000
  14.  
  15. # Define the command to run your application
  16. CMD ["python", "app.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement