File tree Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Expand file tree Collapse file tree 2 files changed +3
-10
lines changed Original file line number Diff line number Diff line change 6161
6262 - name : Export requirements
6363 if : steps.check-target.outputs.should_run == 'true'
64- run : pdm run export --no-hashes
64+ run : pdm run export
6565
6666 - name : Add license headers
6767 if : steps.check-target.outputs.should_run == 'true'
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ ENV PDM_CHECK_UPDATE=false
1414WORKDIR /app
1515COPY src pyproject.toml pdm.lock ./
1616
17- RUN pdm export --prod -o requirements.txt --no-hashes
17+ RUN pdm export --prod -o requirements.txt
1818
1919FROM python:${PYTHON_VERSION}-slim-bookworm AS app
2020
@@ -23,18 +23,11 @@ ENV PYTHONUNBUFFERED=1
2323
2424WORKDIR /app
2525
26- RUN apt-get update && apt-get install -y --no-install-recommends \
27- git \
28- && rm -rf /var/lib/apt/lists/* && apt-get autoclean
29-
3026RUN adduser -u 6392 --disabled-password --gecos "" appuser && chown -R appuser /app
3127
3228COPY --from=python-base --chown=appuser /app/requirements.txt ./
3329
34- RUN pip install $(grep '^pycord-rest-bot==' requirements.txt | tr -d '\\ ' ) \
35- && sed -i '/pycord-rest-bot/d' requirements.txt \
36- && pip uninstall py-cord -y \
37- && pip install -r requirements.txt
30+ RUN pip install -r requirements.txt
3831
3932COPY --chown=appuser src/ ./src
4033COPY --chown=appuser LICENSE ./
You can’t perform that action at this time.
0 commit comments