Improve cache usage in docker builds

This commit is contained in:
teutat3s 2022-01-16 20:13:03 +01:00
parent 25302653b8
commit e7afddee14
Signed by: teutat3s
GPG key ID: 4FA1D3FA524F22C1

View file

@ -1,9 +1,9 @@
FROM denoland/deno:alpine as build-stage FROM denoland/deno:alpine as build-stage
WORKDIR /app WORKDIR /app
COPY . /app/
RUN apk update && apk add bash RUN apk update && apk add bash
RUN deno run -A https://deno.land/x/lume/install.ts RUN deno run -A https://deno.land/x/lume/install.ts
COPY . /app/
RUN ./build.sh RUN ./build.sh
FROM caddy:2.4.6-alpine FROM caddy:2.4.6-alpine