Minimizing Dockerfile
This commit is contained in:
parent
ddd1005141
commit
4f0016e150
|
@ -1,5 +1,6 @@
|
|||
FROM node:alpine
|
||||
COPY . /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN npm install && \
|
||||
npm cache clean
|
||||
EXPOSE 8080
|
||||
|
|
|
@ -3,6 +3,5 @@
|
|||
set -e
|
||||
|
||||
cp -R /usr/src/app/public/* /usr/src/app/external-public/
|
||||
cd /usr/src/app
|
||||
|
||||
exec "$@"
|
||||
|
|
Loading…
Reference in New Issue