-
Andrew Kapuscinski authored
- Added PATH_PREFIX variable to build stage to handle dockerfiles at paths other than /services - removed .unit-test template from .gitlab-ci.yml because it was duplicated
Andrew Kapuscinski authored- Added PATH_PREFIX variable to build stage to handle dockerfiles at paths other than /services - removed .unit-test template from .gitlab-ci.yml because it was duplicated
Dockerfile.dev 474 B
# This is nrao:capability
FROM marconi.aoc.nrao.edu/ops/base:workspaces
# Get capability code into the image
WORKDIR /code
COPY ./services/capability ./
WORKDIR /packages/
COPY ./shared ./shared
COPY ./apps/cli ./apps/cli
COPY ./testing ./testing
# Python library installation
WORKDIR /code
RUN pip install -r requirements.txt \
&& python setup.py develop
# Set Capo
ARG capo_env=dsoc-dev
ENV CAPO_PROFILE $capo_env
CMD ["pserve", "--reload", "development.ini"]