Loading...
为你的应用程序生成标准 Dockerfile 模板。
# Node.js Dockerfile FROM node:20-alpine # Create app directory WORKDIR /app # Install dependencies COPY package*.json ./ RUN npm install --production # Bundle app source COPY . . # Expose port EXPOSE 3000 # Start the application CMD ["npm", "start"]
为你的应用程序生成标准 Dockerfile 模板。