@@ -1,6 +1,9 @@
|
|||||||
# Use an official Node.js runtime as a parent image
|
# Use an official Node.js runtime as a parent image
|
||||||
FROM node:22
|
FROM node:22
|
||||||
|
|
||||||
|
# Don't run as root
|
||||||
|
USER node
|
||||||
|
|
||||||
# Set the working directory in the container
|
# Set the working directory in the container
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user