Skip to content

Commit

Permalink
Build maplibre gl sprite from web_api
Browse files Browse the repository at this point in the history
  • Loading branch information
frodrigo committed Jun 22, 2024
1 parent 54ca966 commit e48cc3d
Show file tree
Hide file tree
Showing 8 changed files with 3,261 additions and 1,639 deletions.
7 changes: 6 additions & 1 deletion docker/Dockerfile-api
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,16 @@ RUN apt update && \
apt install -y --no-install-recommends \
bzip2 \
gettext \
librsvg2-bin \
npm \
postgresql-client && \
apt-get clean

ADD ./requirements.txt /data/project/osmose/frontend/requirements.txt
WORKDIR /data/project/osmose/frontend
ADD web_api/static/package.json web_api/static/package.json
ADD web_api/static/package-lock.json web_api/static/package-lock.json
RUN cd web_api/static && npm install && cd -
ADD ./requirements.txt requirements.txt
RUN pip install uvicorn && pip install -r requirements.txt

ADD . /data/project/osmose/frontend
Expand Down
4 changes: 4 additions & 0 deletions docker/docker-compose-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,7 @@ services:
environment:
- OSMOSE_UNLOCKED_UPDATE=on
- URL_FRONTEND=http://127.0.0.1:20009
volumes:
- type: bind
source: ..
target: /data/project/osmose/frontend
Loading

0 comments on commit e48cc3d

Please sign in to comment.