1
0
mirror of https://github.com/immich-app/immich.git synced 2024-11-24 08:52:28 +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 WORKDIR /usr/src/app
COPY package.json yarn.lock ./ COPY package.json package-lock.json ./
RUN apt-get update RUN apt-get update
RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y RUN apt-get install gcc g++ make cmake python3 python3-pip ffmpeg -y
RUN npm i -g yarn --force RUN npm install
RUN yarn install
COPY . . COPY . .
RUN yarn build RUN npm run build
# Clean up commands # Clean up commands
RUN apt-get autoremove -y && apt-get clean && \ RUN apt-get autoremove -y && apt-get clean && \

View File

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