Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- FROM python:3.8
- # Set the working directory in the container
- WORKDIR /app
- # Copy the current directory contents into the container at /app
- COPY . /app
- # Install Flask
- RUN pip install Flask
- # Expose the port that Flask will run on
- EXPOSE 5000
- # Define the command to run your application
- CMD ["python", "app.py"]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement