.
This commit is contained in:
9
k8s/apps/pyserver/Dockerfile
Normal file
9
k8s/apps/pyserver/Dockerfile
Normal file
@ -0,0 +1,9 @@
|
||||
FROM python:3.8-slim-buster
|
||||
WORKDIR /usr/src/app
|
||||
COPY requirements.txt ./
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY . .
|
||||
ENTRYPOINT ["python"]
|
||||
EXPOSE 8080
|
||||
CMD ["app.py"]
|
Reference in New Issue
Block a user