Skip to content

Commit ef83ac0

Browse files
committed
fix: no write permissions on app/
1 parent 589e8e6 commit ef83ac0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ RUN pip install --no-cache-dir --no-index --find-links /app/wheelhouse -r requir
4646
rm -rf /app/wheelhouse
4747

4848
# Copy entire app package with correct ownership
49-
COPY --chown=fastapi:fastapi app/ ./app/
49+
COPY --chmod=755 --chown=fastapi:fastapi app/ ./app/
5050

5151
# https://rules.sonarsource.com/docker/RSPEC-6504/
5252

0 commit comments

Comments
 (0)