CoolFace
Apppublic

ParthCodes/flask-react-sockets

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
0likes
Dockerfile17 linesDownload Raw Back to root
1# Menggunakan base image Python 3.92FROM python:3.93 4# Mengatur direktori kerja ke /code5WORKDIR /code6 7# Menyalin requirements.txt ke /code8COPY ./requirements.txt /code/requirements.txt9 10# Menginstal dependensi dari requirements.txt11RUN pip install --no-cache-dir --upgrade -r requirements.txt12 13# Menyalin seluruh konten proyek Anda ke /code14COPY . /code15 16# CMD untuk menjalankan Gunicorn17CMD ["gunicorn", "app:app", "-b", "0.0.0.0:7860"]