update seed blend
This commit is contained in:
@@ -3,20 +3,13 @@ FROM node:18-alpine
|
||||
# Set working directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
# Copy package files and install dependencies
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install --silent
|
||||
|
||||
# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Use the pre-created non-root user from the Node image
|
||||
# and ensure ownership is correct
|
||||
RUN chown -R node:node /app
|
||||
USER node
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user