From 128279c619c035acb47bd1c64924568746c0ce56 Mon Sep 17 00:00:00 2001 From: gourav Date: Sun, 9 Aug 2026 07:44:58 +0530 Subject: [PATCH] Updated container config --- Dockerfile | 2 +- compose.yaml | 7 +++---- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0b7e634..c252e32 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,4 +10,4 @@ COPY main.py . RUN mkdir /uploads COPY uploads/test.txt /uploads/test.txt -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] \ No newline at end of file +CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8899"] \ No newline at end of file diff --git a/compose.yaml b/compose.yaml index e80b241..50f15f1 100644 --- a/compose.yaml +++ b/compose.yaml @@ -2,9 +2,8 @@ services: uploader: build: . container_name: file-uploader - ports: - - "8899:8000" - environment: - UPLOAD_HASH: "${UPLOAD_HASH}" + network_mode: host + env_file: + - .env volumes: - ./uploads:/uploads \ No newline at end of file