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

11 lines
208 B
Docker
Raw Normal View History

2022-11-25 17:52:37 +07:00
FROM node:16
2022-11-25 17:27:36 +07:00
WORKDIR /usr/src/app
2022-11-26 09:47:30 +07:00
COPY package*.json /usr/src/app/
2022-11-25 17:47:09 +07:00
RUN npm install
COPY . /usr/src/app
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 10:09:52 +07:00
CMD ["npm", "start", "--loglevel=verbose"]
2022-11-25 17:27:36 +07:00