mic-bot/Dockerfile
Dmitry Anderson abf50e6b63 Minor updates
- Fixed Hungrian translation
- Upgraded deno version
2024-10-27 10:02:33 +01:00

16 lines
315 B
Docker

FROM denoland/deno:2.0.3
WORKDIR /app
COPY . .
RUN deno cache --allow-import ./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" ]