Skip to content

FROM python:3.11-slim # Install system dependencies RUN apt update && apt upgrade -y && \ apt install -y git curl && \ apt clean # Create app directory WORKDIR /app/ # Copy project files COPY . /app/ # Install Python dependencies RUN pip install --upgrade pip && \ pip install -r requirements.txt # Use JSON aRenameDockerfile to DockerfileFROM python:3.11-slim # Install syste…#2

Open
harshramuos wants to merge 1 commit into
itzshukla:mainfrom
harshramuos:patch-1

Conversation

@harshramuos

Copy link
Copy Markdown

…m dependencies RUN apt update && apt upgrade -y && \ apt install -y git curl && \ apt clean # Create app directory WORKDIR /app/ # Copy project files COPY . /app/ # Install Python dependencies RUN pip install --upgrade pip && \ pip install -r requirements.txt # Use JSON array for CMD to avoid signal issues CMD ["python3", "main.py"]

… dependencies RUN apt update && apt upgrade -y && \ apt install -y git curl && \ apt clean # Create app directory WORKDIR /app/ # Copy project files COPY . /app/ # Install Python dependencies RUN pip install --upgrade pip && \ pip install -r requirements.txt # Use JSON array for CMD to avoid signal issues CMD ["python3", "main.py"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant