Change to npm instead of yarn in docker image to test for build error on github action

This commit is contained in:
Alex Tran
2022-02-07 14:58:23 -06:00
parent 82beb040bc
commit 5d48de7fa9
4 changed files with 8047 additions and 6658 deletions

View File

@@ -7,18 +7,16 @@ ARG DEBIAN_FRONTEND=noninteractive
WORKDIR /usr/src/app
COPY package.json yarn.lock ./
COPY package.json package-lock.json ./
RUN apt-get update
RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y
RUN npm i -g yarn --force
RUN yarn install
RUN npm install
COPY . .
RUN yarn build
RUN npm run build
# Clean up commands
RUN apt-get autoremove -y && apt-get clean && \