Fixed git clone && cd dance in generated Dockerfile

This commit is contained in:
Fabio Manganiello 2019-12-02 00:49:19 +01:00
parent 909695e070
commit 3a347496d3
1 changed files with 3 additions and 2 deletions

View File

@ -97,8 +97,9 @@ def generate_dockerfile(deps, ports, cfgfile, devdir, python_version):
content += textwrap.dedent( content += textwrap.dedent(
''' '''
RUN git clone https://github.com/BlackLight/platypush.git /app && cd /app/platypush RUN git clone https://github.com/BlackLight/platypush.git /app
RUN pip install -r requirements.txt && python setup.py build install && cd /app
&& pip install -r requirements.txt && python setup.py build install
RUN apk del git && apk del build-base RUN apk del git && apk del build-base
''') ''')