diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a5d7528 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.10-slim + +WORKDIR /app + +COPY requirements.txt . +RUN pip install --no-cache-dir -r requirements.txt + +COPY src/ ./src/ + +EXPOSE 8080 + +CMD ["python", "-m", "src.train"] diff --git a/manifests/deployment.yaml b/manifests/deployment.yaml index b944d5c..2dd3f07 100644 --- a/manifests/deployment.yaml +++ b/manifests/deployment.yaml @@ -15,6 +15,8 @@ spec: labels: app: mlops-serving spec: + imagePullSecrets: + - name: harbor-secret containers: - name: serving image: harbor.inje-private.com/mlops/mlops-serving:latest # CI에서 자동 업데이트