CoolFace
Apppublic

Dipa567/ExoPlanetDetector

sourceHugging Faceupdated 1y agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1# Use an official Python runtime as a parent image2FROM python:3.9-slim3 4# Install system dependencies required by lightgbm5# This command updates the package list and installs the GNU OpenMP library6RUN apt-get update && apt-get install -y libgomp17 8# Set the working directory in the container9WORKDIR /code10 11# Copy the requirements file into the container at /code12COPY ./requirements.txt /code/requirements.txt13 14# Install any needed packages specified in requirements.txt15RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt16 17# Copy the rest of the application's code into the container at /code18COPY . /code/19 20# Command to run the application.21CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]