mirror of
https://github.com/joelhooks/joelclaw.git
synced 2026-09-19 01:24:04 +08:00
335bfe0f47
COPY preserved the staged 0640 joel-owned mode as root-owned in the image, so the non-root runtime UID crash-looped on Errno 13 on both NAS hosts.
9 lines
224 B
Docker
9 lines
224 B
Docker
FROM python:3.13-alpine@sha256:399babc8b49529dabfd9c922f2b5eea81d611e4512e3ed250d75bd2e7683f4b0
|
|
|
|
WORKDIR /app
|
|
COPY --chmod=0644 server.py /app/server.py
|
|
|
|
USER 65534:65534
|
|
EXPOSE 7411
|
|
ENTRYPOINT ["python3", "/app/server.py"]
|