fix(Container): moved into apporpriate folders

This commit is contained in:
2024-12-14 16:04:17 -07:00
parent 99bfecce23
commit 2cca4777de
35 changed files with 38 additions and 12 deletions

18
Dockerfile Normal file
View File

@ -0,0 +1,18 @@
# Use an official Python runtime as a parent image
FROM python:3.10-slim
# Set the working directory inside the container
WORKDIR /BajaCloudBackend
# Copy the current directory contents into the container at /app
COPY ./ContainerContents /BajaCloudBackend
# Install any necessary dependencies
RUN pip install --no-cache-dir -r requirements.txt
# Expose port 8080 for the container to listen on
EXPOSE 8080
# Command to run the Python server when the container starts
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--reload"]