dragggl25 commited on
Commit
1f8b999
·
verified ·
1 Parent(s): 73bcfa1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -6,6 +6,8 @@ WORKDIR /app
6
 
7
  RUN git clone https://github.com/nekohy/duck2api.git .
8
 
 
 
9
  RUN deno cache --node-modules-dir main.ts
10
 
11
  EXPOSE 8000
 
6
 
7
  RUN git clone https://github.com/nekohy/duck2api.git .
8
 
9
+ RUN sed -i 's/{ port: CONFIG.PORT }/{ port: CONFIG.PORT, hostname: "0.0.0.0" }/' main.ts
10
+
11
  RUN deno cache --node-modules-dir main.ts
12
 
13
  EXPOSE 8000