Skip to content

Commit

Permalink
chore: support docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
mumu-lhl committed Aug 10, 2024
1 parent 5823950 commit 83e5036
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
FROM denoland/deno:1.45.5

# The port that your application listens to.
EXPOSE 1993

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", "main.ts"]

0 comments on commit 83e5036

Please sign in to comment.