forked from mtusi2026/mtusi2026lab7
feat(lab7): implement secure messenger infrastructure with TLS, OpenBao and observability
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY src/ ./src/
|
||||
COPY migrations/ ./migrations/
|
||||
|
||||
ENV HOST=127.0.0.1
|
||||
ENV PORT=8080
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["uvicorn", "src.main:app", "--host", "127.0.0.1", "--port", "8080", "--workers", "1"]
|
||||
Reference in New Issue
Block a user