fix dockerfile
This commit is contained in:
@@ -5,8 +5,15 @@ WORKDIR /repo
|
||||
COPY package.json ./
|
||||
COPY backend/package.json backend/package.json
|
||||
COPY frontend/package.json frontend/package.json
|
||||
|
||||
WORKDIR /repo/backend
|
||||
RUN npm install
|
||||
|
||||
WORKDIR /repo/frontend
|
||||
RUN npm install
|
||||
|
||||
WORKDIR /repo
|
||||
|
||||
COPY backend backend
|
||||
COPY frontend frontend
|
||||
RUN npm run build
|
||||
|
||||
Reference in New Issue
Block a user