mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2025-12-28 15:17:53 +01:00
16 lines
290 B
Docker
16 lines
290 B
Docker
FROM python:3
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN python -m venv pilot-env
|
|
RUN source pilot-env/bin/activate
|
|
RUN pip install -r requirements.txt
|
|
RUN python ./pilot/db_init.py
|
|
|
|
CMD [ "python", "./pilot/main.py" ]
|