sid_racha commited on
Commit
aeeacb5
·
1 Parent(s): 1ba072b

modified entrypoint

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -0
Dockerfile CHANGED
@@ -12,6 +12,12 @@ WORKDIR /app
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  # Install the Python dependencies listed in requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
 
 
 
 
 
15
  # Copy the rest of the application code from the host to the container
16
  # Again, ensure the copied files are owned by 'user'
17
  COPY --chown=user . /app
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
  # Install the Python dependencies listed in requirements.txt
14
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
15
+
16
+ # Copy the entrypoint script
17
+ COPY --chown=user ./entrypoint.sh /entrypoint.sh
18
+ # Make the script executable
19
+ RUN chmod +x /entrypoint.sh
20
+
21
  # Copy the rest of the application code from the host to the container
22
  # Again, ensure the copied files are owned by 'user'
23
  COPY --chown=user . /app