diff --git a/Dockerfile b/Dockerfile index 3e1409f..2e42c4d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ FROM node:lts-alpine AS build WORKDIR /app COPY package*.json ./ -RUN npm install --platform=linux --arch=arm64 +RUN npm ci COPY . . -RUN npm install --platform=linux --arch=arm64 +RUN npm run build FROM nginx:alpine AS runtime COPY ./nginx.conf /etc/nginx/nginx.conf COPY --from=build /app/dist /usr/share/nginx/html -EXPOSE 80 \ No newline at end of file +EXPOSE 80