up stuff
This commit is contained in:
parent
656c3fd414
commit
1c17b57d8a
37 changed files with 2818 additions and 469 deletions
|
@ -1,11 +1,17 @@
|
|||
FROM ubuntu:16.04
|
||||
FROM ubuntu:25.04
|
||||
RUN apt-get update && \
|
||||
apt-get install -y postgresql-server-dev-all && \
|
||||
apt-get install -y python3-dev && \
|
||||
apt-get install -y python3-pip && \
|
||||
apt-get install -y libgeos-dev
|
||||
RUN pip3 install uwsgi
|
||||
ADD /requirements.txt /app/
|
||||
apt-get install -y postgresql-server-dev-all \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
libgeos-dev \
|
||||
&& apt-get clean \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
RUN pip3 install -r requirements.txt
|
||||
CMD uwsgi --http :8080 --wsgi-file backend.py --callable app
|
||||
COPY requirements.txt /app/
|
||||
RUN pip3 install --no-cache-dir -r requirements.txt
|
||||
|
||||
COPY . /app/
|
||||
RUN chmod +x /app/setup_db.sh
|
||||
|
||||
CMD ./setup_db.sh && uwsgi --http :8080 --wsgi-file backend.py --callable app
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue