Merge pull request #258 from ewfian/main

CI: add build docker test
This commit is contained in:
Henry Heng
2023-06-06 17:35:22 +01:00
committed by GitHub
3 changed files with 22 additions and 4 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ name: Node CI
on:
push:
branches:
- master
- main
pull_request:
branches:
+19
View File
@@ -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 .
+2 -3
View File
@@ -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