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:
parent
f4dabb4dc6
commit
2e13640e1b
1 changed files with 1 additions and 1 deletions
|
@ -39,6 +39,7 @@ USER app_user
|
||||||
|
|
||||||
RUN mkdir -p /data/web-app
|
RUN mkdir -p /data/web-app
|
||||||
COPY ./package.json /data/web-app
|
COPY ./package.json /data/web-app
|
||||||
|
WORKDIR /data/web-app
|
||||||
|
|
||||||
# Assign permissions to app_user
|
# Assign permissions to app_user
|
||||||
USER root
|
USER root
|
||||||
|
@ -50,7 +51,6 @@ USER app_user
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Copy all application files
|
# Copy all application files
|
||||||
WORKDIR /data/web-app
|
|
||||||
COPY ./ /data/web-app
|
COPY ./ /data/web-app
|
||||||
|
|
||||||
# Assign permissions to app_user
|
# Assign permissions to app_user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue