Skip to content

Commit

Permalink
chore : added a fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SwatiEY committed Jan 26, 2024
1 parent 4afd536 commit a5faa80
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
# 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 All @@ -17,7 +14,7 @@ RUN rustup install nightly-2022-06-28
RUN cargo +nightly-2022-06-28 build -p zokrates_cli --release


FROM ubuntu:21.04
FROM ubuntu:22.04
WORKDIR /app

COPY config/default.js config/default.js
Expand Down

0 comments on commit a5faa80

Please sign in to comment.