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

Docker file, for easy deployment #27

Open
xTr4pSystem opened this issue Nov 21, 2022 · 2 comments
Open

Docker file, for easy deployment #27

xTr4pSystem opened this issue Nov 21, 2022 · 2 comments

Comments

@xTr4pSystem
Copy link

xTr4pSystem commented Nov 21, 2022

FROM python:3.9.5

WORKDIR /app

COPY requirements.txt requirements.txt

RUN pip3 install -r requirements.txt

COPY . .

CMD [ "gunicorn", "--chdir", "webapp", "-b", "0.0.0.0:8000", "app:app"]

might be efficent to find a better lightweight python image. also add dockerignore

@Hugo0
Copy link
Owner

Hugo0 commented Nov 21, 2022

Hey this is awesome, thanks @xTr4pSystem!

@xTr4pSystem xTr4pSystem changed the title Dokcer file, for easy deployment Docker file, for easy deployment Nov 21, 2022
@xTr4pSystem
Copy link
Author

@Hugo0 update me about the pr #28

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

No branches or pull requests

2 participants