From 65c63c80f1882a57588528650eb5ca7b1f1a318c Mon Sep 17 00:00:00 2001 From: Sameer Naik Date: Thu, 20 Oct 2016 16:37:20 +0530 Subject: [PATCH] create and own `/app` directory --- bitnami/express/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bitnami/express/Dockerfile b/bitnami/express/Dockerfile index ed5836b955a8..497aa7d09040 100644 --- a/bitnami/express/Dockerfile +++ b/bitnami/express/Dockerfile @@ -38,6 +38,8 @@ COPY rootfs/ / # so the entrypoint does not have any permission issues RUN chown -R bitnami:bitnami /app_template +RUN mkdir /app && chown bitnami: /app + USER bitnami # This will add an specific version of Express that will validate the package.json requirement # so we will not download any other version