new-home/Dockerfile
José Henrique 20a35b9e45
Some checks failed
Master Build / Build and Push Docker Image (amd64) (push) Failing after 1m13s
Master Build / Update running container (push) Has been skipped
fixing image build tag
2025-01-22 21:58:07 -03:00

20 lines
242 B
Docker

FROM node:14 AS build
WORKDIR /app
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:alpine
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
# Start Nginx server
CMD ["nginx", "-g", "daemon off;"]