Initial stack: FreeRADIUS + Node API + docker-compose
This commit is contained in:
11
node-api/Dockerfile
Normal file
11
node-api/Dockerfile
Normal file
@@ -0,0 +1,11 @@
|
||||
FROM node:20-alpine
|
||||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --only=production || npm i --only=production
|
||||
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["node", "index.js"]
|
||||
|
||||
Reference in New Issue
Block a user