gitscope
← marzneshin / v0.1.3 / Dockerfile
https://dev.kronoz.win/r/marzneshin.git
Dockerfile · Docker
Blame Raw
 1FROM python:3.11-slim                                                                                                                                      
 2
 3ENV PYTHONUNBUFFERED 1
 4
 5WORKDIR /app
 6
 7COPY . /app
 8
 9RUN apt-get update -y \
10    && apt-get install make gcc g++ python3-dev -y --no-install-recommends \
11    && pip install --no-cache-dir -r /app/requirements.txt \  
12    && apt-get clean -y \
13    && apt-get remove g++ gcc python3-dev -y \
14    && rm -rf /var/lib/apt/lists/* 
15
16CMD ["make", "start"]