diff --git a/Dockerfile b/Dockerfile index b88fc86..fd8f30c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ RUN deno cache main.ts RUN deno task build USER deno +EXPOSE 80 EXPOSE 443 CMD ["run", "-A", "main.ts"] \ No newline at end of file diff --git a/compose.yml b/compose.yml index d23fe52..530640a 100644 --- a/compose.yml +++ b/compose.yml @@ -3,6 +3,7 @@ services: container_name: deno_fresh_app build: . ports: + - "80:80" - "443:443" volumes: - .:/app diff --git a/fresh.config.ts b/fresh.config.ts index 5881650..7a518e1 100644 --- a/fresh.config.ts +++ b/fresh.config.ts @@ -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 }, });