danyoung commited on
Commit
2f29fdd
·
1 Parent(s): 104b5f5

reordered docker container again

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,5 +1,11 @@
1
  FROM python:3.10-slim
2
 
 
 
 
 
 
 
3
  # To get permissions to write to the container
4
  RUN useradd -m -u 1000 user
5
  USER user
@@ -7,14 +13,8 @@ USER user
7
  # Define environment variables
8
  ENV APPS_HOME=/home/user/local/cognizant \
9
  ELUC_APP_HOME=/home/user/local/cognizant/eluc \
10
- GDAL_VERSION=3.7.1 \
11
  PYTHONPATH=/home/user/local/cognizant/eluc
12
 
13
- # Debian basics and cleaning up in one RUN statement to reduce image size
14
- RUN apt-get update -y && \
15
- apt-get install --no-install-recommends curl git gcc g++ libgdal-dev -y && \
16
- rm -rf /var/lib/apt/lists/*
17
-
18
  # Set work directory
19
  WORKDIR ${ELUC_APP_HOME}
20
 
 
1
  FROM python:3.10-slim
2
 
3
+ # Debian basics and cleaning up in one RUN statement to reduce image size
4
+ ENV GDAL_VERSION=3.7.1
5
+ RUN apt-get update -y && \
6
+ apt-get install --no-install-recommends curl git gcc g++ libgdal-dev -y && \
7
+ rm -rf /var/lib/apt/lists/*
8
+
9
  # To get permissions to write to the container
10
  RUN useradd -m -u 1000 user
11
  USER user
 
13
  # Define environment variables
14
  ENV APPS_HOME=/home/user/local/cognizant \
15
  ELUC_APP_HOME=/home/user/local/cognizant/eluc \
 
16
  PYTHONPATH=/home/user/local/cognizant/eluc
17
 
 
 
 
 
 
18
  # Set work directory
19
  WORKDIR ${ELUC_APP_HOME}
20