mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
chore(build): change to pnpm from yarn (#919)
* flip to npm * try pnpm * nothing good started with p anyway * I want to go outside. * Split out deps and build * 30 seconds on the fetch, reintroduce the p * lock it in * flip lock file to pnpm * nuke yarn.lock * kirby no longer has yarn * flip goreleaser to v4, was using node12. * snapshots don't have tags * Update README.md * pin offline dockerfile * Delete .yarnrc.yml * Delete web/.yarn directory * fix: update scripts --------- Co-authored-by: ze0s <ze0s@riseup.net>
This commit is contained in:
parent
ac61334f93
commit
762a0bb36b
8 changed files with 5248 additions and 8137 deletions
11
Dockerfile
11
Dockerfile
|
@ -1,11 +1,10 @@
|
|||
# build web
|
||||
FROM node:18.7.0-alpine3.16 AS web-builder
|
||||
COPY . ./
|
||||
WORKDIR /web
|
||||
COPY web/package.json web/yarn.lock web/.yarnrc.yml ./
|
||||
COPY web/.yarn/releases/ ./.yarn/releases/
|
||||
RUN yarn install --network-timeout 120000
|
||||
COPY web .
|
||||
RUN yarn build
|
||||
RUN npm install -g pnpm && \
|
||||
pnpm install --frozen-lockfile && \
|
||||
pnpm run build
|
||||
|
||||
# build app
|
||||
FROM golang:1.20-alpine3.16 AS app-builder
|
||||
|
@ -55,4 +54,4 @@ COPY --from=app-builder /src/bin/autobrrctl /usr/local/bin/
|
|||
EXPOSE 7474
|
||||
|
||||
ENTRYPOINT ["/usr/local/bin/autobrr", "--config", "/config"]
|
||||
#CMD ["--config", "/config"]
|
||||
#CMD ["--config", "/config"]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue