From de3bb48493ba5a737a124849e6c99cab6f6f69e9 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Mon, 2 Dec 2019 00:37:34 +0100 Subject: [PATCH] mkdir -p /app in generated Dockerfile --- platypush/platydock/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/platypush/platydock/__init__.py b/platypush/platydock/__init__.py index 9e8c1f78..199ed83b 100755 --- a/platypush/platydock/__init__.py +++ b/platypush/platydock/__init__.py @@ -57,6 +57,7 @@ def generate_dockerfile(deps, ports, cfgfile, devdir, python_version): ''' FROM python:alpine{python_version} + RUN mkdir -p /app RUN mkdir -p /etc/platypush RUN mkdir -p /usr/local/share/platypush\n '''.format(python_version=python_version)).lstrip()