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

poastal.py Docker Container #20

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

poastal.py Docker Container #20

wants to merge 4 commits into from

Conversation

cmlh
Copy link

@cmlh cmlh commented Dec 25, 2023

I've created a poastal.py Docker Container using docker init .

It is started by docker compose up --build

cmlh added 4 commits December 25, 2023 10:54
$ docker init

Welcome to the Docker Init CLI!

This utility will walk you through creating the following files with sensible defaults for your project:
  - .dockerignore
  - Dockerfile
  - compose.yaml
  - README.Docker.md

Let's get started!

? What application platform does your project use? Python
? What version of Python do you want to use? (3.8.4) 3.11.7

? What version of Python do you want to use? 3.11.7
? What port do you want your app to listen on? (8000) 8080

? What port do you want your app to listen on? 8080
? What is the command to run your app? (gunicorn 'backend.poastal:app' --bind=0.0.0.0:8080) python poastal.py
? What is the command to run your app? python poastal.py

CREATED: .dockerignore
CREATED: Dockerfile
CREATED: compose.yaml
CREATED: README.Docker.md

✔ Your Docker files are ready!

Take a moment to review them and tailor them to your application.

When you're ready, start your application by running: docker compose up --build

Your application will be available at http://localhost:8080

Consult README.Docker.md for more information about using the generated files.
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