feat: update Node.js version in Dockerfile; switch from node:18-slim to node:20-alpine for improved performance
All checks were successful
CI / build (push) Successful in 37s
All checks were successful
CI / build (push) Successful in 37s
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
FROM node:18-slim
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
|
||||
EXPOSE 3000
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user