Skip to content

Commit

Permalink
👷 docker cache optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
juftin committed Jan 25, 2024
1 parent b6593ec commit c561944
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ MAINTAINER Justin Flannery "juftin@juftin.com"
RUN apt-get update && apt-get install -y jq && apt-get clean

COPY requirements.txt /tmp/project/requirements.txt
RUN pip install -r /tmp/project/requirements.txt

COPY README.md /tmp/project/README.md
COPY pyproject.toml /tmp/project/pyproject.toml
COPY lunchable /tmp/project/lunchable

RUN pip install -r /tmp/project/requirements.txt
RUN pip install /tmp/project && \
rm -rf /tmp/project

Expand Down

0 comments on commit c561944

Please sign in to comment.