forked from deedy/mac_computer_use
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (15 loc) · 651 Bytes
/
Dockerfile
File metadata and controls
20 lines (15 loc) · 651 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.12-slim
# Install system dependencies
RUN apt-get update && apt-get install -y curl && \
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh | bash
# Install cliclick using Homebrew (if available on macOS alternative)
RUN bash -c "$(brew install cliclick)"
# Copy project files into the container
WORKDIR /app
COPY . /app
# Create a virtual environment and install dependencies
RUN python3 -m venv /app/venv && \
/app/venv/bin/pip install --upgrade pip && \
/app/venv/bin/pip install -r requirements.txt
# Set entry point to run Streamlit
ENTRYPOINT ["/app/venv/bin/streamlit", "run", "app.py"]