fix(security): update Go, x/net, handlebars and the frontend base packages
This commit is contained in:
1 parent
d6f960f8ae
commit
0beae4895d
19 files changed
+68
-54
No files matched your search
@@ -22,6 +22,13 @@ RUN pnpm run build
|
||||
|
||||
FROM ${NGINX_IMAGE}
|
||||
|
||||
# The floating base tag can lag behind Alpine security fixes (for example
|
||||
# libtiff), so the runtime packages are upgraded at build time; the image runs
|
||||
# as the unprivileged user again right after.
|
||||
USER root
|
||||
RUN apk upgrade --no-cache
|
||||
USER 101
|
||||
|
||||
COPY --from=build /workspace/frontend/dist/ /usr/share/nginx/html/
|
||||
COPY deploy/nginx/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY deploy/nginx/conf.d/app.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
Reference in new issue
Block a user