|
@@ -15,9 +15,8 @@ COPY --from=app /app /app
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
-
|
|
|
|
|
# All app and node_modules will be owned by root.
|
|
# All app and node_modules will be owned by root.
|
|
|
-# The app will run as the 'app' user, and so not have write permissions
|
|
|
|
|
|
|
+# The app will run as the 'node' user, and so not have write permissions
|
|
|
# on any files it doesn't need.
|
|
# on any files it doesn't need.
|
|
|
RUN ./install_deps.sh
|
|
RUN ./install_deps.sh
|
|
|
ENTRYPOINT ["/bin/sh", "entrypoint.sh"]
|
|
ENTRYPOINT ["/bin/sh", "entrypoint.sh"]
|