This commit is contained in:
King Matthew Ochoa 2025-08-10 04:11:44 +08:00
parent 4b3598676b
commit a3e8f62696
4 changed files with 19 additions and 0 deletions

5
.dockerignore Normal file
View File

@ -0,0 +1,5 @@
__pycache__/
*.pyc
*.pyo
.env
.git

14
dockerfile Normal file
View File

@ -0,0 +1,14 @@
FROM python:3.11-slim
WORKDIR /app
# Install dependencies first (better caching)
COPY wickr-bedrock-gateway/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy the FastAPI app
COPY wickr-bedrock-gateway/ .
EXPOSE 8000
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]