Skip to content

Commit

Permalink
fix: dockerfile update to compile rust verifier
Browse files Browse the repository at this point in the history
  • Loading branch information
Codetrauma committed Nov 7, 2024
1 parent ab468aa commit 340bc5d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
**/node_modules
**/.DS_Store
**/target
.idea
build
.env
poaps.txt
rs/**/target
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM node:20-alpine
FROM node:latest

ARG PORT=3030
WORKDIR /app
ENV PATH="${PATH}:/root/.cargo/bin"

COPY . .

RUN apt-get update && apt-get install -y curl
RUN curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh -s -- -y
RUN npm install
RUN npm i --prefix rs/0.1.0-alpha.7/
Expand Down

0 comments on commit 340bc5d

Please sign in to comment.