Skip to content

Commit

Permalink
chore(Github Actions, Docker): use clone approach instead of submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed May 22, 2024
1 parent f6c4585 commit fffb72a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pro.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ COPY . .
# Configure Git to use the token for GitHub
ARG GITHUB_TOKEN
RUN git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/"
RUN git init
RUN git submodule add https://github.com/bludnic/opentrader-pro.git pro
RUN git submodule update --init --remote
RUN rm -rf pro
RUN git clone https://github.com/bludnic/opentrader-pro.git pro

# Lockfile is required to prune. This will override the param from .npmrc
RUN pnpm install --lockfile
Expand Down

0 comments on commit fffb72a

Please sign in to comment.