-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Luke Brody
committed
Aug 15, 2024
1 parent
a43afab
commit 880194d
Showing
3 changed files
with
9 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
FROM ubuntu:22.04 | ||
FROM node:20 | ||
|
||
RUN dpkg --add-architecture i386 | ||
RUN apt-get -y update | ||
RUN apt-get -y install python3-pip | ||
RUN apt-get -y install libgdal-dev | ||
|
||
WORKDIR /urbanstats | ||
COPY ./requirements.txt ./ | ||
RUN pip3 install --break-system-packages -r requirements.txt | ||
|
||
RUN apt-get -y install chromium | ||
RUN apt-get -y install xvfb | ||
|
||
RUN git clone --progress --depth 1 https://github.com/densitydb/densitydb.github.io.git ../density-db | ||
|
||
# needed for window resizing in Testcafe | ||
RUN dpkg --add-architecture i386 | ||
RUN apt-get -y update | ||
RUN apt-get -y install libc6:i386 | ||
RUN apt-get -y install libx11-6:i386 | ||
RUN apt-get -y install fluxbox | ||
|
||
COPY ./ ./ | ||
COPY ./requirements.txt ./ | ||
RUN pip3 install --break-system-packages -r requirements.txt | ||
|
||
ENTRYPOINT [ "/bin/bash" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters