Skip to content

Commit

Permalink
Merge pull request #2 from scaleoutsystems/feature/update_dockerfile
Browse files Browse the repository at this point in the history
Feature/Update dockerfile
  • Loading branch information
sztoor committed Jun 5, 2023
2 parents cda5f27 + 0527f04 commit fb46cfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:

build_studio:
name: Build studio
runs-on: alpine:latest #ubuntu-20.04
runs-on: ubuntu-20.04
outputs:
image: ${{ steps.meta.outputs.json }}
permissions:
Expand Down
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@ RUN apt-get update \
&& apt-get install --no-install-recommends -y git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& pip install -e git+https://github.com/scaleoutsystems/fedn.git@develop#egg=fedn\&subdirectory=fedn \
&& pip install git+https://github.com/scaleoutsystems/fedn.git@master#egg=fedn\&subdirectory=fedn \
&& pip install --no-cache-dir -r requirements.txt


FROM python:3.10.6-slim as build
COPY --from=base /usr/local/lib/python3.10/site-packages/ /usr/local/lib/python3.10/site-packages/
COPY --from=base /usr/local/bin/fedn /usr/local/bin/
WORKDIR /app

0 comments on commit fb46cfe

Please sign in to comment.