sqlchat / Dockerfile
pnicewiczoig's picture
Create Dockerfile
2c4f300
Raw
History Blame Contribute Delete
503 Bytes
FROM python:3.11
# Expose port you want your app on
EXPOSE 443
# Upgrade pip and install requirements
COPY requirements.txt requirements.txt
RUN pip install -U pip
RUN pip install -r requirements.txt
# Copy app code and set working directory
COPY . .
WORKDIR /app
COPY . /app
COPY sqlqa.py /app/sqlqa.py
COPY spm.db /app/spm.db
COPY .env /app/.env
COPY /.chainlit/config.toml /app/.chainlit/config.toml
# Run
ENTRYPOINT ["chainlit", "run", "sqlqa.py", "--host=0.0.0.0", "--port=443", "--headless"]