Gender-CNN-Demo / Dockerfile
Harry2687's picture
added prediction functionality to app and updated dockerfile
e5d2c50
raw
history blame contribute delete
311 Bytes
FROM python:3.12.8-slim
ENV PYTHONUNBUFFERED=1 \
PIP_NO_CACHE_DIR=1
WORKDIR /gender-prediction
COPY requirements.txt .
RUN pip install --upgrade pip \
&& pip install -r requirements.txt
COPY . .
RUN python download_model.py
EXPOSE 3000
CMD ["shiny", "run", "app.py", "-h", "0.0.0.0", "-p", "3000"]