mic-bot/Dockerfile
2024-10-23 18:09:10 +02:00

14 lines
272 B
Docker

FROM denoland/deno:2.0.2
WORKDIR /app
COPY . .
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" ]