cic-internal-integration/apps/data-seeding/docker/Dockerfile

31 lines
682 B
Docker
Raw Normal View History

# syntax = docker/dockerfile:1.2
FROM registry.gitlab.com/grassrootseconomics/cic-base-images:python-3.8.6-dev-5ab8bf45
WORKDIR /root
2021-06-28 19:56:15 +02:00
RUN mkdir -vp /usr/local/etc/cic
2021-06-26 00:59:10 +02:00
COPY package.json \
package-lock.json \
./
2021-08-31 20:43:01 +02:00
RUN npm ci --production
2021-08-31 20:43:01 +02:00
#RUN --mount=type=cache,mode=0755,target=/root/node_modules npm install
COPY common/ cic_ussd/common/
2021-09-21 08:04:44 +02:00
COPY requirements.txt .
COPY config/ config
ARG EXTRA_PIP_INDEX_URL=https://pip.grassrootseconomics.net
ARG EXTRA_PIP_ARGS=""
ARG PIP_INDEX_URL=https://pypi.org/simple
RUN pip install --index-url $PIP_INDEX_URL \
--extra-index-url $EXTRA_PIP_INDEX_URL $EXTRA_PIP_ARGS \
-r requirements.txt
COPY . .
ENTRYPOINT [ ]