Skip to content

Commit

Permalink
update Dockerfiles
Browse files Browse the repository at this point in the history
  • Loading branch information
varex83 committed Oct 17, 2023
1 parent 6a7988c commit c7f378b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DockerfileRocket
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ RUN cargo build --release
RUN chmod +x ./docker_run.sh

# Build the cairo compiler
WORKDIR /opt/app/api/cairo
RUN cargo build --release --workspace
WORKDIR /opt/app/api/cairo_compilers
RUN chmod +x ./build.sh; ./build.sh

EXPOSE 8000

Expand Down
4 changes: 4 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ ENV PATH="/root/cairo_venv/bin:${PATH}"
# Install cairo-lang
RUN pip install cairo-lang

# install Scarb
RUN curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | bash
ENV PATH="/root/.local/bin:${PATH}"

# Set the working directory
WORKDIR /app

Expand Down

0 comments on commit c7f378b

Please sign in to comment.