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>
This commit is contained in:
Daniel 2023-12-07 13:02:39 +01:00 committed by dan
parent 8685688698
commit d2cfc089c3
8 changed files with 26 additions and 37 deletions

View file

@ -6,7 +6,13 @@ RUN playwright install
RUN playwright install-deps
COPY ./requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . /code
WORKDIR /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