sqlLIte / Dockerfile
gcharanteja
Implement SQLite server and FastAPI integration with updated Dockerfile and startup script
3d4271b
Raw
History Blame Contribute Delete
325 Bytes
FROM python:3.9-slim
WORKDIR /app
# Install requirements
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy all files
COPY . .
# Make start.sh executable
RUN chmod +x start.sh
EXPOSE 8000
EXPOSE 7860
# Run the startup script which handles both SQLite server and FastAPI
CMD ["./start.sh"]