ats-tracker / Dockerfile
Anash's picture
added all the required files
e2afb5f verified
# Use the official Python image as the base image
FROM python:3.10.12
# Set the working directory inside the container
WORKDIR /app
# Copy the requirements file into the container at /app
COPY requirements.txt /app/
# Install any dependencies
RUN pip install --upgrade pip && pip install -r requirements.txt
# Copy the rest of the application code into the container at /app
COPY . /app/
# Expose the port that FastAPI will run on
EXPOSE 8000
# Command to run the application
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8001"]