14 lines
216 B
Docker
14 lines
216 B
Docker
FROM node:16
|
|
USER node
|
|
WORKDIR /home/node/app
|
|
COPY . .
|
|
RUN mkdir /home/node/
|
|
RUN npm install
|
|
RUN npm run build
|
|
RUN npm run build:fontawesome
|
|
EXPOSE 5000
|
|
RUN mkdir .npm
|
|
RUN mkdir /home/node/.npm
|
|
CMD ["npm", "start"]
|
|
|