david-oplatka commited on
Commit
1496c6c
1 Parent(s): 0dd2995

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -45
Dockerfile CHANGED
@@ -35,48 +35,3 @@ EXPOSE 8000
35
  COPY --chown=user . /app
36
 
37
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
38
-
39
-
40
- # # ARG VECTARA_CUSTOMER_ID
41
- # # ARG VECTARA_API_KEY
42
- # # ARG VECTARA_CORPUS_ID
43
- # ARG VECTARA_AGENT_TYPE
44
- # ARG VECTARA_AGENT_MAIN_LLM_PROVIDER
45
- # ARG VECTARA_AGENT_TOOL_LLM_PROVIDE
46
- # # ARG OPENAI_API_KEY
47
- # ARG QUERY_EXAMPLES
48
- # ARG DEMO_NAME
49
- # ARG SHORT_DESCRIPTION
50
- # ARG EXTRA_INFO
51
-
52
- # FROM python:3.10
53
-
54
- # ENV PYTHONDONTWRITEBYTECODE 1
55
- # ENV PYTHONUNBUFFERED 1
56
-
57
- # RUN useradd -m -u 1000 user
58
- # USER user
59
- # ENV PATH="/home/user/.local/bin:$PATH"
60
-
61
- # WORKDIR /app
62
-
63
- # # Used only for local testing with env variables
64
- # # COPY --chown=user ./.env .env
65
-
66
- # COPY --chown=user ./requirements.txt requirements.txt
67
- # RUN pip3 install --no-cache-dir -r requirements.txt
68
-
69
- # RUN --mount=type=secret,id=VECTARA_CUSTOMER_ID,mode=0444,required=true \
70
- # --mount=type=secret,id=VECTARA_API_KEY,mode=0444,required=true \
71
- # --mount=type=secret,id=VECTARA_CORPUS_ID,mode=0444,required=true \
72
- # --mount=type=secret,id=OPENAI_API_KEY,mode=0444,required=true \
73
- # git init && \
74
- # git remote add origin $(cat /run/secrets/VECTARA_CUSTOMER_ID) && \
75
- # git remote add origin-second $(cat /run/secrets/VECTARA_API_KEY) && \
76
- # git remote add origin-third $(cat /run/secrets/VECTARA_CORPUS_ID) && \
77
- # git remote add origin-third $(cat /run/secrets/OPENAI_API_KEY)
78
-
79
- # EXPOSE 8000
80
-
81
- # COPY --chown=user . /app
82
- # CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]
 
35
  COPY --chown=user . /app
36
 
37
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000"]