fix(nginx): add SPA routing and security headers
This commit is contained in:
@@ -17,6 +17,7 @@ FROM nginx:alpine
|
||||
RUN apk update && apk upgrade --no-cache
|
||||
|
||||
COPY --from=build /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
# Nginx default listen 80
|
||||
EXPOSE 80
|
||||
CMD ["nginx", "-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user