ispg-backend / Dockerfile
urestrange's picture
Rename Dockerfile.10 to Dockerfile
30d8c16 verified
Raw
History Blame Contribute Delete
369 Bytes
# guna python versi 3.10
FROM python:3.10
# set working directory
WORKDIR /app
# copy semua fail ke dalam container
COPY . .
# install semua library
RUN pip install --no-cache-dir -r requirements.txt
# dedahkan port 7860 (hugging face guna port ni)
EXPOSE 7860
# jalankan aplikasi guna gunicorn
CMD ["gunicorn", "app:app", "--bind", "0.0.0.0:7860"]