From ea8518a2c66c7d84e1a5ad6699b6bb71e00c4053 Mon Sep 17 00:00:00 2001 From: Vinod Bangera <vinodbangera@niveussolutions.com> Date: Tue, 14 May 2024 14:49:50 +0530 Subject: [PATCH] initial commit --- Dockerfile | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 7e5e42d..0000000 --- a/Dockerfile +++ /dev/null @@ -1,20 +0,0 @@ -# Use the official Python base image -FROM python:3.9-slim - -# Set the working directory in the container -WORKDIR /app - -# Copy the requirements file into the container at /app -COPY requirements.txt /app/ - -# Install dependencies -RUN pip install --no-cache-dir -r requirements.txt - -# Copy the current directory contents into the container at /app -COPY . /app/ - -# Expose port 8000 to the outside world -EXPOSE 8000 - -# Command to run the FastAPI application -CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"] -- GitLab