From 87139bd3589dd9814c3cf644421cfb08817eced0 Mon Sep 17 00:00:00 2001 From: dm1sh Date: Sat, 17 Jul 2021 22:40:36 +0300 Subject: [PATCH] Changed dockerfile --- Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c663d29..9298fbb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,7 @@ WORKDIR /app COPY ./package.json ./ RUN npm install COPY ./ ./ -ENV SNOWPACK_PUBLIC_API_URL=https://publitebackend.dmitriy.icu -ENV SNOWPACK_PUBLIC_BASE_URL=https://publite.dmitriy.icu -RUN NODE_ENV=production npm run build +RUN npm run build FROM node:alpine RUN npm install serve -g --silent