stream-discord-bot/Dockerfile

12 lines
274 B
Docker
Raw Permalink Normal View History

2024-05-25 14:58:06 +00:00
FROM python:3.12-alpine AS venv
RUN ["mkdir", "-p", "/app"]
COPY ["bot.py", "/app/bot.py"]
COPY ["start.sh", "/app/start.sh"]
COPY ["install.sh", "/app/install.sh"]
RUN ["sh", "/app/install.sh"]
FROM scratch
COPY --from=venv / /
USER 1455:1455
ENTRYPOINT ["/app/start.sh"]