Skip to content

Commit

Permalink
Removing dependency installation from build-image
Browse files Browse the repository at this point in the history
  • Loading branch information
= committed Nov 17, 2024
1 parent d2fbb53 commit f29bc44
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 15 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/build-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,6 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Node.js dependencies
run: npm install

- name: Run webpack
run: npx webpack

Expand Down
7 changes: 0 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,6 @@ RUN apk add --no-cache mariadb-connector-c-dev
RUN pip install --no-cache-dir -r requirements.txt
RUN apk del build-deps

# Install Node.js and npm
RUN apk update
RUN apk add nodejs npm

# Install npm dependencies
RUN npm install

# Run Webpack to build the assets
RUN npx webpack

Expand Down

0 comments on commit f29bc44

Please sign in to comment.