fix: upgrade python version
This commit is contained in:
@@ -6,8 +6,8 @@ jobs:
|
|||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: ["3.10", "3.11"]
|
python-version: ["3.13"]
|
||||||
os: [ubuntu-22.04]
|
os: [ubuntu-24.04]
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|||||||
+2
-2
@@ -1,4 +1,4 @@
|
|||||||
FROM python:3.12-slim
|
FROM python:3.13-slim
|
||||||
|
|
||||||
ENV PYTHONDONTWRITEBYTECODE=1
|
ENV PYTHONDONTWRITEBYTECODE=1
|
||||||
ENV PYTHONUNBUFFERED=1
|
ENV PYTHONUNBUFFERED=1
|
||||||
@@ -17,4 +17,4 @@ COPY . /code
|
|||||||
COPY nginx/nginx.conf /etc/nginx/sites-enabled/default
|
COPY nginx/nginx.conf /etc/nginx/sites-enabled/default
|
||||||
|
|
||||||
RUN ["sh", "scripts/build_static.sh"]
|
RUN ["sh", "scripts/build_static.sh"]
|
||||||
CMD [ "sh", "./scripts/run.sh" ]
|
CMD ["sh", "./scripts/run.sh"]
|
||||||
|
|||||||
Reference in New Issue
Block a user