mirror of
https://github.com/koodo-reader/koodo-reader.git
synced 2026-06-18 21:00:35 -04:00
Merge pull request #984 from jectpro7/master
Fix docker compilation failed Former-commit-id: ebdff0e780fdeefbbce82e02843fe7071652d24e
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
FROM node:14-slim as builder
|
||||
RUN apt-get update && apt-get install -y jq curl wget python
|
||||
FROM node:18-slim as builder
|
||||
RUN apt-get update && apt-get install -y jq curl wget python3
|
||||
WORKDIR /app
|
||||
|
||||
### Get the latest release source code tarball
|
||||
@@ -13,7 +13,8 @@ RUN yarn --network-timeout 1000000
|
||||
|
||||
### Separate `yarn build` layer as a workaround for devices with low RAM.
|
||||
### If build fails due to OOM, `yarn install` layer will be already cached.
|
||||
RUN yarn build
|
||||
RUN yarn \
|
||||
&& yarn build
|
||||
|
||||
### Nginx or Apache can also be used, Caddy is just smaller in size
|
||||
FROM caddy:latest
|
||||
|
||||
Reference in New Issue
Block a user