Fixed git clone && cd dance in generated Dockerfile
This commit is contained in:
parent
909695e070
commit
3a347496d3
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||
|
||||
''')
|
||||
|
|
Loading…
Reference in a new issue