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

View file

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