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

feat: Small Update and version updates #9

Merged
merged 1 commit into from
May 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.9
FROM python:3.10

ARG user=python
ARG home=/home/$user
Expand All @@ -17,7 +17,7 @@ COPY . .

ENV PYTHONPATH "${PYTHONPATH}:/ghasreview"
RUN python3 -m pip install pipenv && \
python3 -m pipenv install --system
python3 -m pipenv sync --system

CMD ["python3", "-m", "ghasreview"]
#CMD ["gunicorn", "wsgi:app", "--bind", "0.0.0.0:8000", "--workers=2"]
Expand Down
5 changes: 3 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@ gunicorn = "*"
black = "==21.12b0"

[requires]
python_version = "3.9"
python_version = "3.10"

[scripts]
main = "python -m ghasreview --debug"
lint = "python -m black ."
fmt = "python -m black ."
lint = "python -m black --check ."
# Run flask app
develop = "gunicorn ghasreview.app:app --bind 0.0.0.0:9000 --log-level=debug --workers=4"
production = "gunicorn wsgi:app --bind 0.0.0.0:9000 --workers=4"
Expand Down
Loading