DenReg/registry/Earthfile
Fabian Stamm e54429833b
All checks were successful
CI / build (push) Successful in 40s
Fix path issues
2023-11-28 16:50:22 +01:00

20 lines
474 B
Plaintext

VERSION 0.7
FROM docker.io/runcitadel/deno:v1.29.3
WORKDIR /app
docker-multi:
BUILD --platform linux/amd64 --platform linux/arm64 +docker
docker:
COPY src /app/src
COPY public /app/public
COPY deno.json /app/
RUN /usr/bin/deno cache --unstable src/registry.ts
ENTRYPOINT [ "/usr/bin/deno", "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