Improve cache usage in docker builds
This commit is contained in:
parent
25302653b8
commit
e7afddee14
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue