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
254 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-25 17:47:09 +07:00
COPY package*.json /usr/src/app
RUN npm install
COPY . /usr/src/app
2022-11-25 18:07:24 +07:00
RUN npm run build
RUN npm run build:tailwind
RUN npm run build:fontawesome
2022-11-25 18:45:03 +07:00
RUN /usr/bin/chown -R 1000690000:0 "/npm"
2022-11-25 17:27:36 +07:00
EXPOSE 5000
CMD ["npm", "start"]