mirror of
https://github.com/Alvin-Zilverstand/novatorem.git
synced 2026-03-06 11:07:09 +01:00
- Use specific python docker image (less error prone) - Use '--no-cache-dir' flag in pip since pip cache makes docker images larger
13 lines
200 B
Docker
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"]
|