mic-bot/Dockerfile
2024-10-24 10:35:13 +02:00

16 lines
301 B
Docker

FROM denoland/deno:1.46.3
WORKDIR /app
COPY . .
RUN deno cache ./main.ts
# RUN deno cache ./main.ts --allow-import
RUN mkdir bin
# Not working
# RUN deno compile ./main.ts -o ./bin/mic --allow-all --allow-import
# ENTRYPOINT [ "./bin/mic" ]
ENTRYPOINT [ "deno", "run", "--allow-all", "main.ts" ]