Pavan2k4 commited on
Commit
340620d
·
verified ·
1 Parent(s): 5855d52

Delete Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -38
Dockerfile DELETED
@@ -1,38 +0,0 @@
1
- FROM nvidia/cuda:11.7.1-runtime-ubuntu22.04
2
-
3
- # Update package lists and install system dependencies
4
- RUN apt-get update && apt-get install -y \
5
- python3-pip \
6
- software-properties-common \
7
- libpq-dev \
8
- gdal-bin \
9
- libgdal-dev \
10
- && rm -rf /var/lib/apt/lists/*
11
-
12
- # Add UbuntuGIS PPA to get a newer version of GDAL (if needed)
13
- RUN add-apt-repository ppa:ubuntugis/ppa && \
14
- apt-get update && \
15
- apt-get install -y gdal-bin libgdal-dev
16
-
17
- WORKDIR /code
18
-
19
- COPY ./requirements.txt /code/requirements.txt
20
-
21
- # Set GDAL version for Python bindings
22
- ENV GDAL_VERSION=3.6.2
23
-
24
- RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
25
-
26
- COPY . /code
27
-
28
- RUN useradd -m -u 1000 user
29
- USER user
30
-
31
- ENV HOME=/home/user \
32
- PATH=/home/user/.local/bin:$PATH
33
-
34
- WORKDIR $HOME/app
35
-
36
- COPY --chown=user . $HOME/app
37
-
38
- CMD ["streamlit", "run", "app.py"]