Skip to content

Commit

Permalink
Merge pull request #9 from advanced-security/develop
Browse files Browse the repository at this point in the history
feat: Small Update and version updates
  • Loading branch information
GeekMasher authored May 2, 2023
2 parents a72c903 + fdbbdcb commit e99f30b
Show file tree
Hide file tree
Showing 4 changed files with 324 additions and 298 deletions.
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

0 comments on commit e99f30b

Please sign in to comment.