20 lines
578 B
Docker
Executable File
20 lines
578 B
Docker
Executable File
FROM python:3.12-slim
|
|
|
|
WORKDIR /app
|
|
|
|
ENV PYTHONDONTWRITEBYTECODE=1
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
COPY backend/requirements.txt /app/requirements.txt
|
|
RUN pip install --no-cache-dir -r /app/requirements.txt
|
|
|
|
COPY backend/app /app/backend/app
|
|
COPY DashBoard-organization.html /app/legacy/DashBoard-organization.html
|
|
COPY DashBoard-organization-backup.html /app/legacy/DashBoard-organization-backup.html
|
|
COPY organization.xlsx /app/legacy/organization.xlsx
|
|
COPY legacy/static /app/legacy/static
|
|
|
|
EXPOSE 8000
|
|
|
|
CMD ["uvicorn", "backend.app.main:app", "--host", "0.0.0.0", "--port", "8000"]
|