mirror of
http://100.103.83.12:3003/fegger/odoo-at-payroll.git
synced 2026-09-17 16:56:42 +00:00
feat(agent): add test frontend and Docker stack
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
PIP_DISABLE_PIP_VERSION_CHECK=1 \
|
||||
PIP_NO_CACHE_DIR=1
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements-runtime.txt ./
|
||||
RUN python -m pip install --no-cache-dir -r requirements-runtime.txt
|
||||
|
||||
COPY agent/ ./agent/
|
||||
COPY web/ ./web/
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["python", "-m", "agent.cli", "serve", "--host", "0.0.0.0"]
|
||||
Reference in New Issue
Block a user