mirror of
https://github.com/amir20/dozzle.git
synced 2025-12-25 23:03:47 +01:00
Uses Yarn again with a timeout
This commit is contained in:
@@ -6,14 +6,14 @@ RUN apk add --no-cache git openssh python make g++ util-linux
|
||||
WORKDIR /build
|
||||
|
||||
# Install dependencies
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY package*.json yarn.lock ./
|
||||
RUN yarn install --network-timeout 1000000
|
||||
|
||||
# Copy assets to build
|
||||
COPY assets ./assets
|
||||
|
||||
# Do the build
|
||||
RUN npm run build
|
||||
RUN yarn build
|
||||
|
||||
|
||||
FROM golang:1.14-alpine AS builder
|
||||
|
||||
Reference in New Issue
Block a user