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
2022-11-25 18:45:03 +07:00

13 lines
254 B
Docker

FROM node:16
WORKDIR /usr/src/app
COPY package*.json /usr/src/app
RUN npm install
COPY . /usr/src/app
RUN npm run build
RUN npm run build:tailwind
RUN npm run build:fontawesome
RUN /usr/bin/chown -R 1000690000:0 "/npm"
EXPOSE 5000
CMD ["npm", "start"]