Skip to content

Commit

Permalink
Update dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kshitijrajsharma committed Nov 21, 2023
1 parent b01526e commit 8c196b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get -y upgrade \
&& apt-get --no-install-recommends -y install \
build-essential libpq-dev libsqlite3-dev libgdal-dev libboost-numpy-dev
build-essential libpq-dev libspatialite-dev libgdal-dev libboost-numpy-dev
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
RUN gdal-config --version | awk -F'[.]' '{print $1"."$2}'
COPY setup.py .
Expand Down Expand Up @@ -45,7 +45,7 @@ COPY config.txt.sample ./config.txt
COPY setup.py .
COPY API/ ./API/
COPY src/ ./src/

COPY test.geojson ./test.geojson
# Use a separate stage to pull the tippecanoe image
FROM ghcr.io/hotosm/tippecanoe:main as tippecanoe-builder

Expand All @@ -60,5 +60,5 @@ RUN useradd --system --uid 900 --home-dir /home/appuser --shell /bin/false appus

USER appuser

#CMD ["/bin/bash"]
# CMD ["/bin/bash"]
CMD ["uvicorn", "API.main:app", "--reload", "--host", "0.0.0.0", "--port", "8000", "--no-use-colors", "--proxy-headers"]

0 comments on commit 8c196b0

Please sign in to comment.