move all docker runs to separate lines to find the error

This commit is contained in:
Luke Robles 2023-05-17 19:15:38 -07:00
parent 8ce00ed748
commit cc1dd2435d

View File

@ -3,10 +3,10 @@ ADD app/requirements.txt /requirements.txt
RUN pip install --default-timeout=100 --no-cache-dir -q -r requirements.txt RUN pip install --default-timeout=100 --no-cache-dir -q -r requirements.txt
FROM python:3.8-slim FROM python:3.8-slim
RUN apt-get update && apt-get install -y --no-install-recommends imagemagick \ RUN apt-get update && apt-get install -y --no-install-recommends imagemagick
&& apt-get autoremove -y \ RUN apt-get autoremove -y
&& apt-get purge -y --auto-remove \ RUN apt-get purge -y --auto-remove
&& rm -rf /var/lib/apt/lists/* /root RUN rm -rf /var/lib/apt/lists/* /root
COPY --from=0 /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages COPY --from=0 /usr/local/lib/python3.8/site-packages /usr/local/lib/python3.8/site-packages
ADD app /app ADD app /app
CMD python /app/bot.py CMD python /app/bot.py