Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Dockerfile to deploy the app #1

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

luisrx7
Copy link

@luisrx7 luisrx7 commented Nov 5, 2024

Add a Dockerfile to build and deploy the Flask application.

  • Dockerfile

    • Use the official Python 3 image as the base image.
    • Set the working directory to /app.
    • Copy the requirements.txt file to the working directory.
    • Install the dependencies using pip install -r requirements.txt.
    • Copy the rest of the application files to the working directory.
    • Set the entry point to run vulnerable-flask-app-linux.py.
    • Expose port 8081.
  • README.md

    • Add instructions on how to build and run the Docker container.

For more details, open the Copilot Workspace session.

Add a Dockerfile to build and deploy the Flask application.

* **Dockerfile**
  - Use the official Python 3 image as the base image.
  - Set the working directory to `/app`.
  - Copy the `requirements.txt` file to the working directory.
  - Install the dependencies using `pip install -r requirements.txt`.
  - Copy the rest of the application files to the working directory.
  - Set the entry point to run `vulnerable-flask-app-linux.py`.
  - Expose port 8081.

* **README.md**
  - Add instructions on how to build and run the Docker container.

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/videvelopers/Vulnerable-Flask-App?shareId=XXXX-XXXX-XXXX-XXXX).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant