move docker setup into packaging subdir

This commit is contained in:
JOLIMAITRE Matthieu 2024-08-29 20:34:29 +02:00
parent c2d9709bdd
commit 8b4de1be9d
8 changed files with 49 additions and 18 deletions

View file

@ -0,0 +1,11 @@
# syntax=docker/dockerfile:1
FROM denoland/deno:1.46.1
USER deno
COPY --from=project src /ruche-manager/src
COPY --from=project modules.conf /ruche-manager/modules.conf
WORKDIR /ruche-manager
RUN deno cache /ruche-manager/src/bot.ts
ENTRYPOINT [ "/ruche-manager/src/bot.ts", "/token" ]