ci: add deployment with security scanner (#1)
ci: add deployment Co-authored-by: sangnn <sangnn.vng@gmail.com> Co-committed-by: sangnn <sangnn.vng@gmail.com>
This commit was merged in pull request #1.
This commit is contained in:
@@ -14,6 +14,9 @@ RUN bun run build
|
||||
# Production stage
|
||||
FROM nginx:alpine AS production
|
||||
|
||||
# Patch inherited Alpine OS packages to clear known CVEs not yet in the base image
|
||||
RUN apk upgrade --no-cache
|
||||
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
|
||||
Reference in New Issue
Block a user