klik-imt / Dockerfile
aziizpra's picture
Upload 72 files
04ecd91
raw
history blame
359 Bytes
# Install Images
FROM python:3.10.7-slim
# Set working directory
WORKDIR /home/app
# Install packages
RUN apt-get update -y && apt-get upgrade -y
# Copy all files into working directory
COPY . .
# Install library
RUN pip3 install -r requirements.txt
# (OPTIONAL) You can use you own port for expose port
EXPOSE 8000
# Run script
CMD ["python", "app.py"]