API / Dockerfile
Niansuh's picture
Upload 8 files
453df78 verified
raw
history blame contribute delete
364 Bytes
FROM denoland/deno:1.45.5
# The port that your application listens to.
EXPOSE 8000
WORKDIR /app
# These steps will be re-run upon each file change in your working directory:
COPY . .
# Compile the main app so that it doesn't need to be compiled each startup/entry.
RUN deno cache main.ts
CMD ["run", "--allow-net", "--allow-env", "--unstable-cron", "main.ts"]