1
0
Fork 0
mirror of https://github.com/mmumshad/ansible-playable.git synced 2025-03-09 23:38:54 +00:00

Update Dockerfile to fix permissions

This commit is contained in:
Mumshad Mannambeth 2017-06-07 15:24:06 -04:00
parent f4dabb4dc6
commit 2e13640e1b

View file

@ -39,6 +39,7 @@ USER app_user
RUN mkdir -p /data/web-app
COPY ./package.json /data/web-app
WORKDIR /data/web-app
# Assign permissions to app_user
USER root
@ -50,7 +51,6 @@ USER app_user
RUN npm install
# Copy all application files
WORKDIR /data/web-app
COPY ./ /data/web-app
# Assign permissions to app_user