Patch to add HTTP (auto redirected by Deno)

This commit is contained in:
Kevin FEDYNA
2025-01-21 13:31:38 +01:00
parent 7504ec095c
commit 6e59515b4b
3 changed files with 3 additions and 1 deletions
+1
View File
@@ -7,6 +7,7 @@ RUN deno cache main.ts
RUN deno task build
USER deno
EXPOSE 80
EXPOSE 443
CMD ["run", "-A", "main.ts"]
+1
View File
@@ -3,6 +3,7 @@ services:
container_name: deno_fresh_app
build: .
ports:
- "80:80"
- "443:443"
volumes:
- .:/app
+1 -1
View File
@@ -6,6 +6,6 @@ export default defineConfig({
server: {
cert: await Deno.readTextFile("certs/cert.pem"),
key: await Deno.readTextFile("certs/key.pem"),
port: 443,
port: 443
},
});