mic-bot/Dockerfile

14 lines
272 B
Docker
Raw Normal View History

2024-10-23 16:09:10 +00:00
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" ]