Evaluacion Dockerfile Bravo Pablo SISTEMAS DISTRIBUIDOS GRUPO - 1
10K+
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y \
nginx \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_16.x | bash - && \
apt-get install -y nodejs
WORKDIR /usr/src/app
# Copiar el 'package.json' y 'package-lock.json' de nuestro proyecto de Angular
```bash
COPY PruebaDocker/package*.json ./
RUN npm install
COPY PruebaDocker/ ./
RUN npm run build
COPY default.conf /etc/nginx/conf.d/
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
Content type
Image
Digest
sha256:c77f608a2…
Size
313.7 MB
Last updated
over 2 years ago
docker pull pavlo12/pruebadocker