Mxiaodang commited on
Commit
80c6eff
·
verified ·
1 Parent(s): 38e1425

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -0
Dockerfile ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM denoland/deno:latest
2
+
3
+ # Create working directory
4
+ WORKDIR /app
5
+
6
+ # Copy source
7
+ COPY . .
8
+
9
+ # Compile the main app
10
+ RUN deno cache main.ts
11
+
12
+ # Run the app
13
+ CMD ["deno", "run", "--allow-net", "main.ts"]