Fixed docker build step
This commit is contained in:
parent
c44bcb9cc9
commit
a928567e37
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user