File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -25,15 +25,13 @@ jobs:
2525 --health-retries 5
2626
2727 steps :
28- - uses : actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28+ - uses : actions/checkout@v4
2929
3030 - name : Install uv
31- uses : astral-sh/setup-uv@857947113170757f49551c65d6484e5088f117c0 # v4.2.0
32- with :
33- enable-cache : true
31+ uses : astral-sh/setup-uv@v5
3432
3533 - name : Set up Python 3.12
36- uses : actions/setup-python@f6742a91b3c2a4176985474360e200155b9e0f6b # v5.1.1
34+ uses : actions/setup-python@v5
3735 with :
3836 python-version : " 3.12"
3937
Original file line number Diff line number Diff line change @@ -15,14 +15,14 @@ WORKDIR /app
1515RUN useradd -m -u 1000 appuser && \
1616 chown appuser:appuser /app
1717
18- COPY --from=builder --chown=appuser:appuser /app/.venv /app/.venv
18+ COPY --from=builder --chown=appuser:appuser --chmod=555 /app/.venv /app/.venv
1919
2020ENV PATH="/app/.venv/bin:$PATH"
2121
22- COPY --chown=appuser:appuser src/ ./src/
23- COPY --chown=appuser:appuser migrations/ ./migrations/
24- COPY --chown=appuser:appuser alembic.ini pyproject.toml uv.lock ./
25- COPY --chown=appuser:appuser scripts/ ./scripts/
22+ COPY --chown=appuser:appuser --chmod=555 src/ ./src/
23+ COPY --chown=appuser:appuser --chmod=555 migrations/ ./migrations/
24+ COPY --chown=appuser:appuser --chmod=555 alembic.ini pyproject.toml uv.lock ./
25+ COPY --chown=appuser:appuser --chmod=555 scripts/ ./scripts/
2626
2727USER appuser
2828
You can’t perform that action at this time.
0 commit comments