CoolFace
Apppublic

pcb-defect-detector-project/new-version

sourceHugging Faceupdated 26d agoView on Hugging Face
0likes
Dockerfile23 linesDownload Raw Back to root
1FROM huggingface/transformers-pytorch-gpu:latest2 3ENV PYTHONUNBUFFERED=14ENV PORT=78605 6WORKDIR /app7 8COPY requirements.txt .9RUN pip install --no-cache-dir -r requirements.txt10 11COPY app.py .12COPY auth.py .13COPY database.py .14COPY datasetstorage.py .15COPY models.py .16COPY last.pt .17COPY templates/ ./templates/18COPY static/ ./static/19COPY utils/ ./utils/20 21EXPOSE $PORT22 23CMD ["sh", "-c", "uvicorn app:app --host 0.0.0.0 --port $PORT"]