Compare commits
No commits in common. "fastapi-docker" and "main" have entirely different histories.
fastapi-do
...
main
@ -1,5 +0,0 @@
|
|||||||
__pycache__/
|
|
||||||
*.pyc
|
|
||||||
*.pyo
|
|
||||||
.env
|
|
||||||
.git
|
|
||||||
14
dockerfile
14
dockerfile
@ -1,14 +0,0 @@
|
|||||||
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"]
|
|
||||||
Loading…
x
Reference in New Issue
Block a user