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
|
||||
|
||||
USER deno
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
|
||||
CMD ["run", "-A", "main.ts"]
|
||||
@@ -3,6 +3,7 @@ services:
|
||||
container_name: deno_fresh_app
|
||||
build: .
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
volumes:
|
||||
- .:/app
|
||||
|
||||
+1
-1
@@ -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
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user