Fix jwt-token
This commit is contained in:
@@ -8,10 +8,8 @@ WORKDIR /app
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Install only production dependencies
|
||||
RUN npm ci --only=production
|
||||
|
||||
# Copy source code
|
||||
# Install only production dependencies
|
||||
RUN npm ci --only=production && npm cache clean --force# Copy source code
|
||||
COPY . .
|
||||
|
||||
# Create non-root user
|
||||
|
||||
Reference in New Issue
Block a user