dragggl25 commited on
Commit
5bf4e7e
·
verified ·
1 Parent(s): aa5c82b

Create Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +12 -0
Dockerfile ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM denoland/deno:latest
2
+
3
+ # RUN apt-get update && apt-get install -y git
4
+ WORKDIR /app
5
+
6
+ RUN git clone https://github.com/nekohy/duck2api.git .
7
+
8
+ RUN deno cache --node-modules-dir main.ts
9
+
10
+ EXPOSE 8000
11
+
12
+ CMD ["deno", "run", "--allow-net", "--allow-env", "--node-modules-dir", "main.ts"]