This repository has been archived on 2023-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
ocp-wg-frontend/Dockerfile

13 lines
202 B
Docker
Raw Normal View History

2022-11-26 11:34:07 +07:00
FROM node:lts
USER node
WORKDIR /home/node/app
2022-11-26 11:28:55 +07:00
RUN mkdir .npm
RUN mkdir /home/node/.npm
2022-11-26 11:19:26 +07:00
COPY . .
2022-11-25 17:47:09 +07:00
RUN npm install
2022-11-25 18:07:24 +07:00
RUN npm run build
RUN npm run build:fontawesome
2022-11-25 17:27:36 +07:00
EXPOSE 5000
2022-11-26 11:28:55 +07:00
CMD ["npm", "run", "start"]
2022-11-25 17:27:36 +07:00