mirror of
https://github.com/Alvin-Zilverstand/novatorem.git
synced 2026-03-06 02:57:12 +01:00
- 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
13 lines
242 B
Docker
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"]
|