Deploy to production
This commit is contained in:
@@ -24,6 +24,8 @@ RUN npm run build
|
||||
FROM nginx:alpine AS production
|
||||
# Copy built assets from the build stage to Nginx
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
# Copy custom nginx config
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
# Expose port 80 for Nginx
|
||||
EXPOSE 80
|
||||
# Start Nginx
|
||||
|
||||
Reference in New Issue
Block a user