dragon-bot/Dockerfile
Luke Robles ea6d09b350 im so dumb. fix the docker file
Fix order of comparisons

Update app/tarkov.py

Fix order of boss spawn comparison

Trying to fix the spawn rate logic agani

I dont even know anymore man

some more funky shit for the boss sapwn comaprison

I dunno man, what the fuck is a kilometer

Flip percents again

Try flipping it AGAIN

fuck man i dont know

Dont cache boss spawns
2024-11-10 15:55:25 -08:00

17 lines
645 B
Docker
Executable File

FROM python:3.10-rc AS build
ADD app/requirements.txt /requirements.txt
ADD https://astral.sh/uv/install.sh /install.sh
RUN bash /install.sh && rm /install.sh && chmod +x /root/.local/bin/uv
RUN /root/.local/bin/uv pip install --system --no-cache-dir -r requirements.txt
FROM python:3.10-rc-slim
RUN apt update && \
apt install -y --no-install-recommends imagemagick && \
apt autoremove -y && \
apt purge -y --auto-remove && \
rm -rf /var/lib/apt/lists/* /root
COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
ADD app /app
RUN mkdir -p /root/.cache/py-finance
CMD python /app/bot.py