Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewmacdermott committed Feb 24, 2024
2 parents e96c071 + 3c185bf commit e7e5912
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ COPY . .
RUN apt-get update -y
RUN apt install libgl1-mesa-glx -y
RUN pipenv install --system
CMD gunicorn app:app -b 0.0.0.0:8080
CMD ["gunicorn", "app:app", "-b", "0.0.0.0:8080"]

2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ flask-cors = "*"
[dev-packages]

[requires]
python_version = "3.9"
python_version = "2.7"
2 changes: 1 addition & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import numpy as np
from scipy import misc

#somethin
#something
app = Flask(__name__)

CORS(app)
Expand Down

0 comments on commit e7e5912

Please sign in to comment.