Skip to content

Commit

Permalink
Fix docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
DOBEN committed Nov 19, 2024
1 parent c9e0cf4 commit 85ac03a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sponsoredTransactionsAuction/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ ARG rust_base_image=rust:1.73

FROM ${node_base_image} AS front_end

# Enable Corepack and prepare Yarn 3.6.3
RUN corepack enable && corepack prepare [email protected] --activate

WORKDIR /app
COPY ./sponsoredTransactionsAuction/frontend/package.json ./package.json
COPY ./sponsoredTransactionsAuction/frontend/tsconfig.node.json ./tsconfig.node.json
Expand All @@ -12,9 +15,6 @@ COPY ./sponsoredTransactionsAuction/frontend/src ./src
COPY ./sponsoredTransactionsAuction/frontend/index.html ./index.html
COPY ./sponsoredTransactionsAuction/frontend/generated ./generated

# Enable Corepack and prepare Yarn 3.6.3
RUN corepack enable && corepack prepare [email protected] --activate

RUN yarn
RUN yarn build

Expand Down

0 comments on commit 85ac03a

Please sign in to comment.