12 lines
233 B
Docker
12 lines
233 B
Docker
FROM node:16
|
|
USER node
|
|
WORKDIR /home/node/app
|
|
COPY --chown=node:node package*.json ./
|
|
COPY --chown=node:node . .
|
|
RUN npm install
|
|
RUN npm run build
|
|
RUN npm run build:fontawesome
|
|
EXPOSE 5000
|
|
CMD ["npm", "start", "--loglevel=verbose"]
|
|
|