other changes
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
RUN npm ci
|
||||
|
||||
COPY tsconfig.json ./
|
||||
COPY src ./src
|
||||
|
||||
RUN npm run build
|
||||
|
||||
# The default command isn't strictly necessary as Argo will override it
|
||||
CMD ["node", "/app/dist/enforce-policy.js"]
|
||||
Reference in New Issue
Block a user