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:
parent
8685688698
commit
d2cfc089c3
8 changed files with 26 additions and 37 deletions
12
Dockerfile
12
Dockerfile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue