Skip to content

Commit

Permalink
fix: added a fix for workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SwatiEY committed Dec 12, 2023
1 parent ce113b7 commit 9bc3e87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release-updated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
password: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v1
with:
node-version: '12.x'
node-version: '20.x'
- name: npm install
run: |
npm ci
Expand Down
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# build zokrates from source for local verify
FROM rust:1.53.0 as builder
ENV USERNAME="app"

RUN addgroup --gid 10001 $USERNAME && \
adduser --gid 10001 --uid 10001 --home /app $USERNAME
WORKDIR /app
COPY . .
RUN git clone --depth 1 --branch 0.7.12 https://github.com/Zokrates/ZoKrates.git /app/zoKratesv0.7.12
Expand Down Expand Up @@ -35,7 +39,7 @@ ENV ZOKRATES_STDLIBv7 /app/stdlibv7
ENV ZOKRATES_STDLIB /app/stdlib

RUN npm i
RUN npm ci

USER $USERNAME:$USERNAME
EXPOSE 80
CMD npm start

0 comments on commit 9bc3e87

Please sign in to comment.