Make it modern

This commit is contained in:
Fabian Stamm
2023-11-28 16:10:33 +01:00
parent 22a447604b
commit a14a5b9462
35 changed files with 656 additions and 200 deletions

View File

@ -1,11 +1,11 @@
FROM docker.hibas123.de/deno
FROM docker.io/denoland/deno:alpine-1.38.3
WORKDIR /app
ADD src /app/src
ADD public /app/public
ADD tsconfig.json /app/
RUN /usr/bin/deno cache --unstable --config /app/tsconfig.json src/registry.ts
ADD deno.json /app/
RUN deno cache --unstable src/registry.ts
VOLUME [ "/app/data" ]
ENTRYPOINT [ "/usr/bin/deno", "run", "-A", "--unstable", "--config", "/app/tsconfig.json", "/app/src/registry.ts" ]
CMD [ "run", "-A", "--unstable", "/app/src/registry.ts" ]