Patch to add HTTP (auto redirected by Deno)
This commit is contained in:
@@ -7,6 +7,7 @@ RUN deno cache main.ts
|
|||||||
RUN deno task build
|
RUN deno task build
|
||||||
|
|
||||||
USER deno
|
USER deno
|
||||||
|
EXPOSE 80
|
||||||
EXPOSE 443
|
EXPOSE 443
|
||||||
|
|
||||||
CMD ["run", "-A", "main.ts"]
|
CMD ["run", "-A", "main.ts"]
|
||||||
@@ -3,6 +3,7 @@ services:
|
|||||||
container_name: deno_fresh_app
|
container_name: deno_fresh_app
|
||||||
build: .
|
build: .
|
||||||
ports:
|
ports:
|
||||||
|
- "80:80"
|
||||||
- "443:443"
|
- "443:443"
|
||||||
volumes:
|
volumes:
|
||||||
- .:/app
|
- .:/app
|
||||||
|
|||||||
+1
-1
@@ -6,6 +6,6 @@ export default defineConfig({
|
|||||||
server: {
|
server: {
|
||||||
cert: await Deno.readTextFile("certs/cert.pem"),
|
cert: await Deno.readTextFile("certs/cert.pem"),
|
||||||
key: await Deno.readTextFile("certs/key.pem"),
|
key: await Deno.readTextFile("certs/key.pem"),
|
||||||
port: 443,
|
port: 443
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user