2023-11-28 15:10:33 +00:00
|
|
|
VERSION 0.7
|
2023-11-28 15:47:09 +00:00
|
|
|
FROM docker.io/runcitadel/deno:v1.29.3
|
2023-11-28 15:10:33 +00:00
|
|
|
WORKDIR /app
|
|
|
|
|
2023-11-28 15:47:09 +00:00
|
|
|
|
2023-11-28 15:10:33 +00:00
|
|
|
docker-multi:
|
|
|
|
BUILD --platform linux/amd64 --platform linux/arm64 +docker
|
|
|
|
|
|
|
|
docker:
|
|
|
|
COPY src /app/src
|
|
|
|
COPY public /app/public
|
|
|
|
COPY deno.json /app/
|
|
|
|
|
|
|
|
RUN deno cache --unstable src/registry.ts
|
|
|
|
CMD [ "run", "-A", "--unstable", "/app/src/registry.ts" ]
|
|
|
|
|
|
|
|
ARG EARTHLY_TARGET_TAG
|
|
|
|
ARG TAG=$EARTHLY_TARGET_TAG
|
|
|
|
SAVE IMAGE --push git.hibas.dev/deno/denreg:$TAG
|