Skip to content

Commit

Permalink
Add udpate.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamghill committed Nov 29, 2024
1 parent 6ac7c0d commit f0bf48a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,9 @@ WORKDIR /site
EXPOSE 80

# Install curl, collect static assets, compress static assets
RUN apt-get install --no-install-recommends -y wget && \
RUN --mount=type=cache,target=/var/cache/apt,sharing=locked --mount=type=cache,target=/var/lib/apt,sharing=locked \
apt-get update --fix-missing && \
apt-get install --no-install-recommends -y wget && \
python app.py collectstatic -v 2 --noinput && \
python app.py compress

Expand Down

0 comments on commit f0bf48a

Please sign in to comment.