eemmExemplarClassfier / Dockerfile
Ozziejoe's picture
Update Dockerfile
5b97cf8 verified
raw
history blame contribute delete
383 Bytes
# Use the official Python image as a base
FROM python:3.9-slim
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1
# Set work directory
WORKDIR /app
# Install dependencies
COPY requirements.txt .
RUN pip install --upgrade pip
RUN pip install -r requirements.txt
# Copy project
COPY . .
CMD ["bash", "-c", "python preprocess.py && python app.py"]