DanielIglesias97 commited on
Commit
4387bcb
·
1 Parent(s): cfed1a5

We have changed the Dockerfile again because the apt-get commands

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -1,6 +1,9 @@
1
  # Use an official Python runtime as a parent image
2
  FROM python:3.9-slim
3
 
 
 
 
4
  RUN useradd -m -u 1000 user
5
  USER user
6
  ENV HOME=/home/user \
@@ -9,9 +12,6 @@ ENV HOME=/home/user \
9
  # Set environment variables
10
  ENV PYTHONUNBUFFERED=1
11
 
12
- RUN apt-get update && \
13
- apt-get install -y git
14
-
15
  # Set the working directory in the container
16
  WORKDIR $HOME/app
17
 
 
1
  # Use an official Python runtime as a parent image
2
  FROM python:3.9-slim
3
 
4
+ RUN apt-get update && \
5
+ apt-get install -y git
6
+
7
  RUN useradd -m -u 1000 user
8
  USER user
9
  ENV HOME=/home/user \
 
12
  # Set environment variables
13
  ENV PYTHONUNBUFFERED=1
14
 
 
 
 
15
  # Set the working directory in the container
16
  WORKDIR $HOME/app
17