mirror of
https://github.com/coleam00/Archon.git
synced 2026-01-02 12:48:54 -05:00
The New Archon (Beta) - The Operating System for AI Coding Assistants!
This commit is contained in:
28
original_archon/Dockerfile
Normal file
28
original_archon/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Install system dependencies
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
build-essential \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy requirements first for better caching
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
# Copy the rest of the application
|
||||
COPY . .
|
||||
|
||||
# Set environment variables
|
||||
ENV PYTHONUNBUFFERED=1
|
||||
ENV PYTHONPATH=/app
|
||||
|
||||
# Expose port for Streamlit
|
||||
EXPOSE 8501
|
||||
|
||||
# Expose port for the Archon Service (started within Streamlit)
|
||||
EXPOSE 8100
|
||||
|
||||
# Set the entrypoint to run Streamlit directly
|
||||
CMD ["streamlit", "run", "streamlit_ui.py", "--server.port=8501", "--server.address=0.0.0.0"]
|
||||
Reference in New Issue
Block a user