16 lines
185 B
Docker
16 lines
185 B
Docker
FROM nginx:latest
|
|
|
|
RUN apt-get update && apt-get install -y nodejs npm
|
|
|
|
WORKDIR /app
|
|
|
|
COPY package*.json ./
|
|
|
|
RUN npm install
|
|
|
|
COPY . /usr/share/nginx/html
|
|
|
|
RUN npm run build
|
|
|
|
EXPOSE 80
|