port8000
This commit is contained in:
parent
b773e03f9b
commit
2163e85b16
|
@ -5,7 +5,7 @@ FROM python:3.12-slim
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
# Add metadata to the image to describe that the container is listening on port 80
|
# Add metadata to the image to describe that the container is listening on port 80
|
||||||
EXPOSE 80
|
EXPOSE 8000
|
||||||
|
|
||||||
# Copy the current directory contents into the container at /app
|
# Copy the current directory contents into the container at /app
|
||||||
COPY . /app
|
COPY . /app
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
from os import environ
|
from os import environ
|
||||||
|
|
||||||
PORT = 80
|
PORT = 8000
|
||||||
DB_URL = (
|
DB_URL = (
|
||||||
environ.get("DATABASE_URL", environ.get("DB_URL", "")).replace("postgres://", "postgresql://")
|
environ.get("DATABASE_URL", environ.get("DB_URL", "")).replace("postgres://", "postgresql://")
|
||||||
or "postgresql://postgres@localhost:5432/discoursio"
|
or "postgresql://postgres@localhost:5432/discoursio"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user