Skip to content

Commit

Permalink
build: fix docker warn (#784)
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 authored Aug 13, 2024
1 parent 1c346eb commit 53ba39d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
ARG BUILDPLATFORM=amd64
ARG NODE_IMAGE=docker.io/node:alpine

FROM --platform=$BUILDPLATFORM ${NODE_IMAGE} as nodebuild
FROM --platform=$BUILDPLATFORM ${NODE_IMAGE} AS nodebuild

WORKDIR /usr/src/app/

Expand All @@ -29,7 +29,7 @@ RUN pnpm install --frozen-lockfile
RUN npm run build

# Now get the clean Node.js image
FROM ${NODE_IMAGE} as flood
FROM ${NODE_IMAGE} AS flood

WORKDIR /usr/src/app/

Expand Down Expand Up @@ -57,8 +57,8 @@ ENTRYPOINT ["npm", "--prefix=/usr/src/app/", "run", "start", "--", "--host=0.0.0
# docker exec -it ${container_id} npm --prefix=/usr/src/app/ run start:development:client

# rtorrent-flood image
FROM docker.io/jesec/rtorrent:master as rtorrent
FROM flood as rtorrent-flood
FROM docker.io/jesec/rtorrent:master AS rtorrent
FROM flood AS rtorrent-flood

# Copy rTorrent
COPY --from=rtorrent / /
Expand Down

0 comments on commit 53ba39d

Please sign in to comment.