From bf9fe63bf6898fde6fbea52471c5ec7c569a4e0e Mon Sep 17 00:00:00 2001 From: Julien Lengrand-Lambert Date: Mon, 7 Nov 2022 16:00:04 +0100 Subject: [PATCH] Adding external port in Dockerfile instead :D --- Dockerfile | 2 +- fly.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9e3a15a..727a58d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM python:3.9-slim COPY app/ /app COPY requirements.txt /app/requirements.txt -EXPOSE 5000 +EXPOSE 8080:8080 WORKDIR /app RUN pip install -r requirements.txt diff --git a/fly.toml b/fly.toml index db063b6..a27360e 100644 --- a/fly.toml +++ b/fly.toml @@ -8,7 +8,7 @@ processes = [] [env] [experimental] - allowed_public_ports = [8080] + allowed_public_ports = [] auto_rollback = true [[services]]