diff --git a/Dockerfile b/Dockerfile index 3b4961f..bd10721 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,14 @@ FROM nginx:alpine +RUN apt-get update && apt-get install -y nodejs npm + WORKDIR /app COPY package*.json ./ RUN npm install -COPY . /usr/share/nginx/html +COPY . . RUN npm run build