dragon-bot/Dockerfile-test-env
Luke Robles 2186452225 Getting CI/CD working
Restore the gates on images running

fix docker hub path for image

Drop down one version on teh build plugin

Drop down one version on teh build plugin

Drop down one version on teh build plugin

force test the build and push workflow

fix image tag in ci/cd

Set push to true on workflow

fix argo command

making a small change to get the pipeline to run

tsting argocd action

Test the filters workflow

Test the filters workflow

test

check if python was changed

check if python was changed

Indent build block

Trying more ci/cd shit

Trying more ci/cd shit

Trying more ci/cd shit

Trying more ci/cd shit

Trying more ci/cd shit

Trying more ci/cd shit

Trying more ci/cd shit

tryin more shit

more ci/cd testing

more ci/cd testing

commiting an obvious bad python change to see if CI/CD bails

testing

testing

testing

testing

testing

testing

Testing workflow
2024-05-02 14:44:06 -07:00

16 lines
705 B
Plaintext
Executable File

FROM python:3.10-rc as build
ADD app/requirements.txt /requirements.txt
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh
RUN /root/.cargo/bin/uv pip install --system --verbose -r requirements.txt
FROM python:3.10-rc-slim
RUN apt-get update && apt-get install -y --no-install-recommends imagemagick vim jq curl
ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
RUN /install.sh && rm /install.sh
RUN /root/.cargo/bin/uv pip install --system black && echo "black .; ./bot.py" >/usr/local/bin/start && chmod +x /usr/local/bin/start
COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
ADD app /app
WORKDIR /app