Skip to content
Snippets Groups Projects

Release

1 file
+ 3
0
Compare changes
  • Side-by-side
  • Inline
+ 16
2
FROM python:3.10
RUN mkdir /app
WORKDIR /app
RUN curl -fsSL https://deb.nodesource.com/setup_19.x | bash -
RUN apt-get install nodejs && rm -rf /var/lib/apt/lists/*
RUN apt-get -y install autoconf automake libtool pkg-config nodejs git
RUN rm -rf /var/lib/apt/lists/*
RUN mkdir /temp
RUN mkdir /temp/libpostal-build
WORKDIR /temp
RUN git clone https://github.com/openvenues/libpostal
WORKDIR /temp/libpostal
RUN ./bootstrap.sh
RUN ./configure --datadir=/temp/libpostal-build
RUN make -j4
RUN make install
RUN ldconfig
WORKDIR /app
COPY . .
Loading