mirror of
https://github.com/immich-app/immich.git
synced 2024-12-28 22:51:59 +00:00
Change to npm instead of yarn in docker image to test for build error on github action
This commit is contained in:
parent
82beb040bc
commit
5d48de7fa9
4 changed files with 8047 additions and 6658 deletions
|
@ -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 && \
|
||||
|
|
|
@ -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
8043
server/package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
6652
server/yarn.lock
6652
server/yarn.lock
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue