diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index ce0a2d0..4eecd15 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -16,4 +16,4 @@ jobs: - name: Delete Old docker container run: sudo docker rm -f pastepyprod || true - name: Run Docker Container - run: sudo docker run -d -p 8000:8000 --name pastepyprod mrsunglasses/paste.py + run: sudo docker run -d -p 8080:8080 --name pastepyprod mrsunglasses/paste.py diff --git a/Dockerfile b/Dockerfile index 9032d51..b20aa25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,5 +17,5 @@ WORKDIR /project RUN pdm install -EXPOSE 8000 -CMD ["pdm", "run", "start"] \ No newline at end of file +EXPOSE 8080 +CMD ["pdm", "run", "start"] diff --git a/pyproject.toml b/pyproject.toml index b45b73d..ecb7318 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -16,4 +16,4 @@ license = {text = "MIT"} [tool.pdm.scripts] -start = "uvicorn src.paste.main:app --host 0.0.0.0 --workers 4" \ No newline at end of file +start = "uvicorn src.paste.main:app --host 0.0.0.0 --port 8080 --workers 4"