Simplify Dockerfiles
There is no need to run explicit mkdir, since the new directory is not used during the build and workdir command creates it automatically.
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
FROM node:12-alpine
|
||||
|
||||
RUN mkdir /src
|
||||
|
||||
# Hack to upgrade NPM:
|
||||
# - install local version
|
||||
# - replace old global verson with new one
|
||||
|
||||
Reference in New Issue
Block a user