Ubuntu / Dockerfile
userrein's picture
Create Dockerfile
e5af374 verified
Raw
History Blame Contribute Delete
314 Bytes
FROM python:3.10-slim
WORKDIR /app
# install dependency system
RUN apt-get update && apt-get install -y \
git \
curl \
&& rm -rf /var/lib/apt/lists/*
# copy project
COPY . /app
# install python requirements
RUN pip install --no-cache-dir -r requirements.txt
# jalankan app
CMD ["python", "app.py"]