add dockerfile
This commit is contained in:
parent
9163c865a7
commit
87f5017920
1 changed files with 11 additions and 0 deletions
11
Dockerfile
Normal file
11
Dockerfile
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FROM python:3.9
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY src/requirements.txt ./
|
||||||
|
RUN pip install -r requirements.txt
|
||||||
|
|
||||||
|
COPY src /app
|
||||||
|
|
||||||
|
EXPOSE 4876
|
||||||
|
CMD [ "python", "server.py" ]
|
Loading…
Add table
Add a link
Reference in a new issue