Fixed docker build step

This commit is contained in:
Zakary Timson 2022-05-02 21:27:42 -04:00
parent c44bcb9cc9
commit a928567e37

View File

@ -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