1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-22 01:47:08 +02:00

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 && \

View File

@ -9,7 +9,7 @@ services:
context: .
target: development
dockerfile: ./Dockerfile-minimal
command: yarn start:dev
command: npm run start:dev
ports:
- "3000:3000"
# expose:

8043
server/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff