Skip to content

Commit

Permalink
fix: Docker libxml & friends installation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shrey Bana committed Dec 3, 2024
1 parent 2d9851b commit b06847d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions example.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ WORKDIR /build
# install nodeJS for functions
ENV NVM_DIR /usr/local/nvm
ENV NODE_VERSION 20.17.0

RUN apt-get update; apt-get install -y libxmlsec1-dev libxml2
RUN mkdir -p $NVM_DIR
RUN curl "https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh" | bash \
&& . $NVM_DIR/nvm.sh \
Expand Down Expand Up @@ -37,7 +37,6 @@ RUN cp .env.example target/.env
RUN mkdir -p target/web
RUN cp -a examples/superposition-demo-app/web/. target/web/
# building backend
RUN apt-get install -y libxmlsec1-dev libxml2
RUN cargo build --release

FROM debian:bookworm-slim as runtime
Expand Down

0 comments on commit b06847d

Please sign in to comment.