try1
This commit is contained in:
16
Dockerfile
Normal file
16
Dockerfile
Normal file
@@ -0,0 +1,16 @@
|
||||
|
||||
FROM python:3.12
|
||||
|
||||
|
||||
WORKDIR /code
|
||||
|
||||
|
||||
COPY ./requirements.txt /code/requirements.txt
|
||||
|
||||
|
||||
RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
||||
|
||||
|
||||
COPY ./papi.py /code/
|
||||
|
||||
CMD ["python3", "papi.py", "--port", "8912"]
|
||||
Reference in New Issue
Block a user