Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
32 lines (22 sloc) 703 Bytes
FROM python:3-alpine AS builder
WORKDIR /usr/src/app
COPY requirement.txt ./
RUN pip3 install -q --no-cache-dir -r requirement.txt -t ./
COPY . .
ADD https://raw.githubusercontent.com/instantbox/instantbox-images/master/manifest.json .
FROM gcr.io/distroless/python3
LABEL \
org.label-schema.schema-version="1.0" \
org.label-schema.name="instantbox" \
org.label-schema.vcs-url="https://github.com/instantbox/instantbox" \
maintainer="Instantbox Team <team@instantbox.org>"
ENV SERVERURL ""
WORKDIR /app
COPY --from=builder /usr/src/app/ .
EXPOSE 65501
CMD ["inspire.py"]
ARG BUILD_DATE
ARG VCS_REF
LABEL \
org.label-schema.build-date=$BUILD_DATE \
org.label-schema.vcs-ref=$VCS_REF
You can’t perform that action at this time.