forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
31 lines (23 loc) · 733 Bytes
/
Copy pathDockerfile
File metadata and controls
31 lines (23 loc) · 733 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
FROM geonode/geonode-base:latest-ubuntu-24.04
ENV LC_ALL=C.UTF-8 \
LANG=C.UTF-8
WORKDIR /usr/src/geonode
RUN apt-get update -y && apt-get install -y --no-install-recommends \
curl \
wget \
unzip \
gnupg2 \
locales \
netcat-openbsd \
&& sed -i -e 's/# C.UTF-8 UTF-8/C.UTF-8 UTF-8/' /etc/locale.gen \
&& locale-gen \
&& apt-get autoremove --purge -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
RUN python -m pip install --no-cache-dir -U pip setuptools wheel
COPY celery-cmd /usr/bin/celery-cmd
RUN chmod +x /usr/bin/celery-cmd
COPY . /usr/src/geonode/
RUN chmod +x /usr/src/geonode/tasks.py /usr/src/geonode/entrypoint.sh
RUN pip install --no-cache-dir -e .
EXPOSE 8000