e2e_tests/Dockerfile
Daniel d2cfc089c3 fix-docker (#10)
* fix docker
-> use "pip install -e ." in installation
-> add symlinks in docker image
-> docker / non docker execution can run same main.py + cli

* remove sh scripts

* remove requirements.txt

Reviewed-on: local-it-infrastructure/e2e_tests#10
Co-authored-by: Daniel <d.brummerloh@gmail.com>
Co-committed-by: Daniel <d.brummerloh@gmail.com>
2023-12-07 13:02:39 +01:00

18 lines
278 B
Docker

FROM python:3.12-slim
RUN pip install --no-cache-dir pytest-playwright
RUN playwright install
RUN playwright install-deps
COPY . /code
WORKDIR /code
RUN pip install --no-cache-dir -e .
RUN rm -rf /code
RUN ln -s /code/recipes /recipes
RUN ln -s /code/envfiles /envfiles