visualsubnetcalc/Dockerfile
PurpleBabar c3b21b58bb
Adding Docker support (#6)
* Adding dockerfile and github action

* typo

* adding repo owner to github action

* adding lowercase owner name

* adding step for container name

* typo

---------

Co-authored-by: Caesar Kabalan <caesar.kabalan@gmail.com>
2023-10-25 14:52:56 -07:00

13 lines
No EOL
197 B
Docker

FROM node:20-alpine as build
ARG REACT_APP_SERVICES_HOST=/services/m
COPY . /app
WORKDIR /app/src
RUN npm install
RUN npm run build
FROM nginx
COPY --from=build /app/dist /usr/share/nginx/html