nginx-proxy-manager/test/cypress/Dockerfile

14 lines
310 B
Docker

FROM cypress/included:5.6.0
COPY --chown=1000 ./ /test
# mkcert
ENV MKCERT=1.4.2
RUN wget -O /usr/bin/mkcert "https://github.com/FiloSottile/mkcert/releases/download/v${MKCERT}/mkcert-v${MKCERT}-linux-amd64" \
&& chmod +x /usr/bin/mkcert
WORKDIR /test
RUN yarn install
ENTRYPOINT []
CMD ["cypress", "run"]