c3b21b58bb
* 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>
13 lines
No EOL
197 B
Docker
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 |