mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-30 20:04:22 +01:00
15 lines
380 B
Docker
15 lines
380 B
Docker
FROM jinaai/dev-gpt:{{DOCKER_BASE_IMAGE_VERSION}}
|
|
|
|
RUN apt-get install --no-install-recommends -y {{APT_GET_PACKAGES}}
|
|
|
|
## install requirements for the executor
|
|
COPY requirements.txt .
|
|
RUN pip -v install --compile -r requirements.txt
|
|
|
|
# setup the workspace
|
|
COPY . /workdir/
|
|
WORKDIR /workdir
|
|
|
|
RUN pytest test_microservice.py
|
|
|
|
ENTRYPOINT ["jina", "executor", "--uses", "config.yml"] |