Stupid npm log directory
This commit is contained in:
parent
8e30fcf213
commit
b8aea60bee
1
.dockerignore
Normal file
1
.dockerignore
Normal file
@ -0,0 +1 @@
|
|||||||
|
npm-debug.log
|
@ -1,11 +1,13 @@
|
|||||||
FROM node:16
|
FROM node:16
|
||||||
USER node
|
USER node
|
||||||
WORKDIR /home/node/app
|
WORKDIR /home/node/app
|
||||||
COPY --chown=node:node package*.json ./
|
COPY . .
|
||||||
COPY --chown=node:node . .
|
RUN mkdir /home/node/
|
||||||
RUN npm install
|
RUN npm install
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
RUN npm run build:fontawesome
|
RUN npm run build:fontawesome
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
CMD ["npm", "start", "--loglevel=verbose"]
|
RUN mkdir .npm
|
||||||
|
RUN mkdir /home/node/.npm
|
||||||
|
CMD ["npm", "start"]
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user