CoolFace
Apppublic

koti-malla/text2sql

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes
Dockerfile21 linesDownload Raw Back to root
1# Use the official Python image as base2FROM python:3.8-slim-buster3 4# Set the working directory5WORKDIR /code6 7# Copy the requirements file into the container8COPY requirements.txt requirements.txt9 10# Install dependencies11RUN pip install -r requirements.txt12 13# Copy the rest of the application code into the container14COPY . .15 16# Expose the port the app runs on17#EXPOSE 500018 19# Define the command to run the app when the container starts20CMD ["python", "-m", "flask", "run", "--host", "0.0.0.0", "--port", "7860"]21