Updated nise-circleguard

This commit is contained in:
nise.moe 2024-03-09 12:10:45 +01:00
parent 7f4469c6f3
commit 4e488ab2ca
2 changed files with 2 additions and 4 deletions

View File

@ -22,7 +22,7 @@ RUN sed -i '238s|return \[x for x in arr if lower_limit < x < upper_limit\]|arr_
COPY ./src/ ./src/ COPY ./src/ ./src/
ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --workers=6" ENV GUNICORN_CMD_ARGS="--bind=0.0.0.0:5000 --workers=10"
# Run gunicorn with the application # Run gunicorn with the application
CMD ["gunicorn", "--chdir", "src", "main:app"] CMD ["gunicorn", "--chdir", "src", "main:app"]

View File

@ -18,5 +18,3 @@ pip install -r requirements.txt
source venv/bin/activate source venv/bin/activate
python src/main.py python src/main.py
``` ```
Make sure to set the `OSU_API_KEY` env variable to your osu!api v1 key.