Files
novatorem/Dockerfile
AlexandrosAlexiou 235e94efd4 Apply codefactor.io suggestions
- Use specific python docker image (less error prone)
- Use '--no-cache-dir' flag in pip since pip cache makes docker images larger
2023-04-18 20:37:40 -04:00

13 lines
200 B
Docker

# syntax=docker/dockerfile:1
FROM python:3.10.0
WORKDIR /api
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt --no-cache-dir
COPY api/ .
CMD [ "python3", "spotify.py"]