mirror of
https://github.com/Alvin-Zilverstand/novatorem.git
synced 2026-03-06 21:29:50 +01:00
Added support for Docker
- Updated SetUp.md with a "Run locally with Docker" section - Moved requirements.txt to the root of the repo since some hosting services require the file to be there (eg. Heroku https://elements.heroku.com/buildpacks/heroku/heroku-buildpack-python)
This commit is contained in:
committed by
Andrew Novac
parent
0bf396a69f
commit
02b606b543
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM python:latest
|
||||
|
||||
WORKDIR /api
|
||||
|
||||
COPY requirements.txt requirements.txt
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
COPY api/ .
|
||||
|
||||
CMD [ "python3", "spotify.py"]
|
||||
Reference in New Issue
Block a user