FROM python:3-slim WORKDIR /usr/src/app COPY app/rest/requirements.txt ./ RUN pip install --no-cache-dir -r requirements.txt COPY app ./app CMD [ "python", "-m", "app.rest.pyapi" ]