diff --git a/Dockerfile b/api/Dockerfile similarity index 75% rename from Dockerfile rename to api/Dockerfile index 61fc37a..171892d 100644 --- a/Dockerfile +++ b/api/Dockerfile @@ -3,10 +3,10 @@ FROM python:3.11 # Create and change to the app directory WORKDIR /app -COPY api/requirements.txt ./api/ +COPY requirements.txt ./ # Install dependencies for the api folder -WORKDIR /app/api +WORKDIR /app/ RUN pip install --no-cache-dir -r requirements.txt # Copy the local code to the container image @@ -17,4 +17,4 @@ COPY . . EXPOSE 3000 # Run the web service on container startup -CMD ["gunicorn", "-c", "api/gunicorn_config.py", "api.main:app"] \ No newline at end of file +CMD ["gunicorn", "-c", "gunicorn_config.py", "main:app"] \ No newline at end of file diff --git a/docker-compose.yml b/api/docker-compose.yml similarity index 100% rename from docker-compose.yml rename to api/docker-compose.yml