mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-31 04:14:22 +01:00
🐋 feat: docker base image
This commit is contained in:
7
src/options/generate/static_files/base_image/Dockerfile
Normal file
7
src/options/generate/static_files/base_image/Dockerfile
Normal file
@@ -0,0 +1,7 @@
|
||||
FROM jinaai/jina:3.14.1-py39-standard
|
||||
|
||||
# update pip
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
# install media dependencies
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y ffmpeg build-essential pkg-config libpoppler-cpp-dev {{apt_get_packages}}
|
||||
@@ -1,8 +1,8 @@
|
||||
FROM jinaai/jina:3.14.1-py39-standard
|
||||
FROM jinaai/gpt-dev:latest
|
||||
# update pip
|
||||
RUN pip install --upgrade pip
|
||||
|
||||
RUN apt-get update && apt-get install --no-install-recommends -y ffmpeg build-essential pkg-config libpoppler-cpp-dev {{apt_get_packages}} && apt-get clean && rm -rf /var/lib/apt/lists/*
|
||||
RUN apt-get install --no-install-recommends -y {{apt_get_packages}}
|
||||
|
||||
## install requirements for the executor
|
||||
COPY requirements.txt .
|
||||
|
||||
Reference in New Issue
Block a user