dockerfileの追加
This commit is contained in:
9
.dockerignore
Normal file
9
.dockerignore
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
/.git
|
||||||
|
/.gitignore
|
||||||
|
|
||||||
|
/Dockerfile
|
||||||
|
/.dockerignore
|
||||||
|
|
||||||
|
/__pycache__
|
||||||
|
|
||||||
|
/public/songs
|
||||||
6
Dockerfile
Normal file
6
Dockerfile
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
FROM python:3
|
||||||
|
COPY . /app
|
||||||
|
WORKDIR /app
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
RUN pip install waitress
|
||||||
|
CMD ["waitress-serve", "app:app"]
|
||||||
Reference in New Issue
Block a user