@ -11,6 +11,9 @@ RUN apt-get update -qq && \
|
|||||||
ENV HOME=/home/app
|
ENV HOME=/home/app
|
||||||
# After setting WORKDIR and USER app
|
# After setting WORKDIR and USER app
|
||||||
WORKDIR $HOME/wedding
|
WORKDIR $HOME/wedding
|
||||||
|
# Create node_modules owned by app
|
||||||
|
RUN mkdir -p node_modules && chown -R app:app node_modules
|
||||||
|
|
||||||
USER app
|
USER app
|
||||||
|
|
||||||
# Copy Gemfiles and install Ruby deps
|
# Copy Gemfiles and install Ruby deps
|
||||||
|
Reference in New Issue
Block a user