Commit
This commit is contained in:
@@ -19,8 +19,11 @@ CMD ["nginx", "-g", "daemon off;"]
|
||||
FROM node:18-slim AS backend
|
||||
WORKDIR /app
|
||||
|
||||
# Copy backend files
|
||||
# Copy package.json to /app directory
|
||||
COPY backend/package*.json ./
|
||||
RUN npm install
|
||||
|
||||
# Copy remaining backend files
|
||||
COPY backend/ .
|
||||
|
||||
# Run backend
|
||||
|
||||
Reference in New Issue
Block a user