Files
novatorem/Dockerfile
AlexandrosAlexiou 883abaca0c Prepare for Heroku deployment
- Heroku will bind the app to $PORT

- Add parameter to API to be able to customize the background color of the svg

- Add parameter to API to be able to customize the border color of the svg

- Add SetUp.md section on how to customize your card with URL parameters

Update SetUp.md with a section on how to customize the card
2023-04-18 20:37:40 -04:00

13 lines
242 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 ["gunicorn", "--workers=1", "--bind", "0.0.0.0:5000", "spotify:app"]