diff --git a/Dockerfile b/Dockerfile index 24c5b42..209d090 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,7 +17,7 @@ COPY . . RUN if [ ! -d "dist" ] && [ ! -d "node_modules" ]; then npm install; fi # Build -if [ ! -d "dist" ]; then npm run "build:$NODE_ENV"; fi +if [ ! -d "dist" ]; then npm run build; fi # Use Nginx to serve FROM nginx:1.20-alpine