Skip to content

Commit fa76315

Browse files
committed
Fix Docker deployment
1 parent 3d54da6 commit fa76315

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

deployment/Dockerfile.backend

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ RUN useradd -u 1000 app && \
1818
# 2.2. Copy content and create dirs
1919
COPY --chown=app backend .
2020
COPY --from=builder --chown=app /app/.venv .venv
21-
RUN mkdir -p /app/data && \
21+
RUN mkdir -p /app/data /app/logs && \
22+
chown -R app /app/data /app/logs && \
2223
printf '#!/bin/sh\nexec /app/.venv/bin/python /app/admin_cli.py "$@"\n' > /usr/local/bin/admin-cli && \
2324
chmod +x /usr/local/bin/admin-cli
2425

0 commit comments

Comments
 (0)