Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Node CI
on:
push:
branches:
- master
- main

pull_request:
branches:
Expand Down
19 changes: 19 additions & 0 deletions .github/workflows/test_docker_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Test Docker Build

on:
push:
branches:
- main

pull_request:
branches:
- "*"

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- run: docker build --no-cache -t flowise .
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
# docker run -d -p 3000:3000 flowise

FROM node:18-alpine
RUN apk add --update libc6-compat
RUN apk add --update libc6-compat python3 make g++

WORKDIR /usr/src/packages

# Copy root package.json and lockfile
COPY package.json ./
COPY yarn.lock ./
COPY package.json yarn.loc[k] ./

# Copy components package.json
COPY packages/components/package.json ./packages/components/package.json
Expand Down