We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81dd2ae commit fe09524Copy full SHA for fe09524
Dockerfile
@@ -1,18 +1,15 @@
1
-ARG BASE_IMAGE=denoland/deno:2.4.5
+ARG BASE_IMAGE=denoland/deno:alpine-2.4.5
2
FROM ${BASE_IMAGE} AS build
3
WORKDIR /src
4
5
-RUN apt-get update && \
6
- apt-get install -y git jq && \
7
- apt-get clean && \
8
- rm -rf /var/lib/apt/lists/*
+RUN apk add --no-cache git jq
9
10
ADD . .
11
RUN export VERSION=`git -C . -c safe.directory=* describe --tags --always` && \
12
jq -r ".version|=\"$VERSION\"" deno.json > ._deno.json && \
13
mv ._deno.json deno.json
14
15
-RUN ./build.ts
+RUN deno run -A ./build.ts
16
17
FROM ${BASE_IMAGE} AS min
18
0 commit comments