File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 5252 run : |
5353 python -m pip install --upgrade pip
5454 pip install poetry
55- poetry install --no-dev
55+ poetry install --only main
5656 - name : Run Tests
5757 env :
5858 TEST : 1
Original file line number Diff line number Diff line change 5151 run : |
5252 python -m pip install --upgrade pip
5353 pip install poetry
54- poetry install --no-dev
54+ poetry install --only main
5555 - name : Run Tests
5656 env :
5757 TEST : 1
@@ -123,7 +123,7 @@ jobs:
123123 cd app
124124 python3 -m pip install --upgrade pip
125125 pip install poetry
126- poetry install --no-dev
126+ poetry install --only main
127127 echo -e "~~~~~~~~~~~~~~~~~~~~~~~~ Installed python requirements successfully ~~~~~~~~~~~~~~~~~~~~~~~~\n"
128128
129129 poetry run python3 manage.py migrate
Original file line number Diff line number Diff line change 6060 run : |
6161 python -m pip install --upgrade pip
6262 pip install poetry
63- poetry install --no-dev
63+ poetry install --only main
6464 - name : Run Tests
6565 env :
6666 TEST : 1
7676 - uses : actions/checkout@v4
7777 - name : Run tests
7878 run : |
79- docker build . --build-arg AUTH_TOKEN=${{ secrets.AUTH_KEY }}--build-arg ALLOWED_HOSTS=${{ secrets.ALLOWED_HOSTS }} --file Dockerfile
79+ docker build . --build-arg AUTH_TOKEN=${{ secrets.AUTH_KEY }} --build-arg ALLOWED_HOSTS=${{ secrets.ALLOWED_HOSTS }} --file Dockerfile
8080
8181 # Push image to GitHub Packages.
8282 # See also https://docs.docker.com/docker-hub/builds/
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RUN cd frontend \
1212 && pnpm run build
1313
1414# Build backend
15- FROM python:3.12-rc- slim-buster
15+ FROM python:3.12-slim-bookworm
1616WORKDIR /usr/src/app
1717ARG ALLOWED_HOSTS
1818ENV ALLOWED_HOSTS $ALLOWED_HOSTS
@@ -26,4 +26,4 @@ RUN pip install --upgrade pip
2626RUN pip install poetry
2727COPY ./pyproject.toml /usr/src/app/pyproject.toml
2828COPY ./poetry.lock /usr/src/app/poetry.lock
29- RUN poetry install --no-dev
29+ RUN poetry install --only main
You can’t perform that action at this time.
0 commit comments