stream-discord-bot/Dockerfile
Roy Olav Purser 29eae47855
All checks were successful
continuous-integration/drone Build is passing
V1
2024-05-25 16:58:06 +02:00

12 lines
274 B
Docker

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"]