-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #66 from noisebridge/superq/py3
Update for Python 3
- Loading branch information
Showing
5 changed files
with
52 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
FROM python:3.11 | ||
|
||
ENV PYTHONDONTWRITEBYTECODE=1 | ||
ENV PYTHONUNBUFFERED=1 | ||
ENV DEBIAN_FRONTEND=noninteractive | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y --no-install-recommends \ | ||
libsqlite3-dev \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
WORKDIR /app | ||
|
||
COPY . /app/ | ||
|
||
RUN pip install -r /app/requirements.txt | ||
|
||
EXPOSE 8000 | ||
|
||
ENTRYPOINT ["/usr/bin/env", "python3", "/app/controller.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
|
||
[config] | ||
# Use "0.0.0.0" for containers. | ||
host = "127.0.0.1" | ||
|
||
[secrets] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,13 @@ | ||
Flask==2.2.5 | ||
Flask-SQLAlchemy==2.4.0 | ||
Flask-WTF==0.14.2 | ||
Jinja2==2.11.3 | ||
MarkupSafe==1.1.1 | ||
SQLAlchemy==1.3.5 | ||
WTForms==2.2.1 | ||
Werkzeug==3.0.1 | ||
Flask-SQLAlchemy>=2.5.1 | ||
Flask-WTF==0.15.1 | ||
Jinja2>=3.0 | ||
MarkupSafe>=2.1.1 | ||
SQLAlchemy>=2.0.0 | ||
WTForms==2.3.3 | ||
Werkzeug==2.3.7 | ||
argparse==1.4.0 | ||
itsdangerous==1.1.0 | ||
itsdangerous>=2.0 | ||
requests==2.31.0 | ||
uWSGI==2.0.22 | ||
wheel==0.38.1 | ||
wsgiref==0.1.2 |