Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hello World GRAPHQL in Python - Docker Image

This Docker image contains a simple Python program using Flask that responds with "Hello, World!" when accessed via an HTTP GET request.

Contents of the Image

The image includes the following files and configurations:

  • app.py: The main Python script that defines the Flask application and sets up the /graphql endpoint.
  • Dockerfile: Configuration file that defines the Docker image, sets up the Python environment, and specifies the instructions to run the program when the container starts.
  • Python: Uses the base Python image, version 3.11-slim.

How to Use This Image

To run the program on your machine, make sure Docker is installed. Then, execute the following command in your terminal:

         docker run -p 4000:4000 alexmpz/hola-graphql

Access the API

Once the container is running, you can access the API by navigating to:

       http://172.17.0.2:4000/

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages