Sangelo
bcb75363f9
All checks were successful
Build and Push Docker Image / docker-build (push) Successful in 1m14s
16 lines
198 B
Docker
16 lines
198 B
Docker
# container img
|
|
FROM node:20
|
|
WORKDIR /app
|
|
|
|
# copy files and install deps
|
|
COPY package*.json ./
|
|
RUN npm install
|
|
COPY . .
|
|
|
|
# main port
|
|
EXPOSE 3000
|
|
|
|
# metrics port
|
|
EXPOSE 3001
|
|
|
|
CMD ["node", "main.js"]
|