novi commit
This commit is contained in:
7
configmap.yaml
Normal file
7
configmap.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: pozdrav-app-config
|
||||
data:
|
||||
KLJUC1: "vr"
|
||||
KLJUC2: "vr2"
|
||||
BIN
deployment.yaml
Normal file
BIN
deployment.yaml
Normal file
Binary file not shown.
11
dockerfile
Normal file
11
dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY requirements.txt .
|
||||
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
EXPOSE 7000
|
||||
|
||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7000"]
|
||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
fastapi==0.135.2
|
||||
uvicorn[standard]==0.29.0
|
||||
BIN
service.yaml
Normal file
BIN
service.yaml
Normal file
Binary file not shown.
Reference in New Issue
Block a user