Use npm for backend

This commit is contained in:
Kasra Bigdeli
2021-08-07 12:56:05 -07:00
parent b70811ad40
commit cf9d4ae20f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ WORKDIR /usr/src/app
COPY . /usr/src/app
RUN yarn install --frozen-lockfile --production && \
RUN npm ci --production && \
npm cache clean --force && \
npm run build && \
mv ./edge-override.json ./config-override.json
+1 -1
View File
@@ -6,7 +6,7 @@ WORKDIR /usr/src/app
# Build backend code.
COPY . /usr/src/app
RUN yarn install --frozen-lockfile --production && \
RUN npm ci --production && \
npm cache clean --force && \
npm run build