Skip to content

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