ap-test/Dockerfile

16 lines
356 B
Docker

FROM python
LABEL org.opencontainers.image.source https://git.batsense.net/ForgeFlux/ap-test
RUN useradd -ms /bin/bash -u 1001 ap
RUN apt-get update && apt-get install -y ca-certificates git
WORKDIR /src/
COPY requirements.txt .
RUN pip install -r requirements.txt
USER ap
WORKDIR /home/ap
RUN mkdir app/
WORKDIR /home/ap/app/
COPY . .
CMD [ "behave"]