diff options
| author | Fuwn <[email protected]> | 2023-01-02 23:17:23 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2023-01-02 23:17:23 -0800 |
| commit | e6fbe3b217a87157526c436c93431cda65b2db75 (patch) | |
| tree | f6b09b64ec5ec71ebb732a7a13733cf6f060a1f9 | |
| parent | feat(bot.py): always refresh token (diff) | |
| download | rubys_song_skipper-main.tar.xz rubys_song_skipper-main.zip | |
| -rw-r--r-- | Dockerfile | 13 | ||||
| -rw-r--r-- | rubys_song_skipper/api.py | 2 |
2 files changed, 14 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..51bcd22 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:3.10.9 + +EXPOSE 80 + +WORKDIR /app + +COPY requirements.txt requirements.txt + +RUN pip3 install -r requirements.txt + +COPY . . + +CMD ["python3", "rubys_song_skipper"] diff --git a/rubys_song_skipper/api.py b/rubys_song_skipper/api.py index 4b6d3a8..0cabc06 100644 --- a/rubys_song_skipper/api.py +++ b/rubys_song_skipper/api.py @@ -44,6 +44,6 @@ def callback(): def run(): threading.Thread( target=lambda: app.run( - host="0.0.0.0", port="8091", debug=True, use_reloader=False + host="0.0.0.0", port="80", debug=False, use_reloader=False ) ).start() |