We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e84dab commit ca95d40Copy full SHA for ca95d40
Dockerfile
@@ -4,16 +4,16 @@ FROM python:slim
4
# Set the working directory in the container
5
WORKDIR /app
6
7
-# Copy requirements file and install dependencies
8
-COPY requirements.txt ./
9
-RUN pip install --no-cache-dir -r requirements.txt
10
-
11
# Add user so we don't need --no-sandbox.
12
RUN groupadd clowdertech && useradd -g clowdertech clowdertech \
13
&& mkdir -p /home/clowdertech/Downloads /app \
14
&& chown -R clowdertech:clowdertech /home/clowdertech \
15
&& chown -R clowdertech:clowdertech /app
16
+# Copy requirements file and install dependencies
+COPY requirements.txt ./
+RUN pip install --no-cache-dir -r requirements.txt
+
17
# Run everything after as non-privileged user.
18
USER clowdertech
19
0 commit comments