FROM denoland/deno:latest | |
# RUN apt-get update && apt-get install -y git | |
WORKDIR /app | |
RUN git clone https://github.com/nekohy/duck2api.git . | |
RUN deno cache --node-modules-dir main.ts | |
EXPOSE 8000 | |
CMD ["deno", "run", "--allow-net", "--allow-env", "--node-modules-dir", "main.ts"] | |