We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
# estágio de compilação FROM node:10.20-alpine as build-stage LABEL maintainer="Nilton Oliveira [email protected]" ENV TZ America/Sao_Paulo ## docker build --no-cache -t expenses . ## docker run -d -p 8080:80 expenses WORKDIR /app COPY package*.json ./ RUN npm install COPY . . RUN npm run build # estágio de produção FROM nginx:stable-alpine as production-stage COPY --from=build-stage /app/dist /usr/share/nginx/html EXPOSE 80 CMD ["nginx", "-g", "daemon off;"]
docker build --no-cache -t expenses .
docker run -d -p 8080:80 expenses ## Acesse http:/localhost:8080/
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
No branches or pull requests
Dockerfile , colocar esse arquivo na Raiz do Projeto
Para fazer o build da imagem docker
Para Rodar a imagem Docker
The text was updated successfully, but these errors were encountered: