create and own /app directory

This commit is contained in:
Sameer Naik
2016-10-20 16:37:20 +05:30
parent 0f78c212c8
commit 65c63c80f1

View File

@@ -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