Update Dockerfile
Browse files- 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
|