Fred808 commited on
Commit
eab38f2
·
verified ·
1 Parent(s): 93166b5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -5
Dockerfile CHANGED
@@ -18,17 +18,13 @@ COPY requirements.txt .
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
  # Copy the application code
21
- COPY rar_extractor.py .
22
  COPY docker-entrypoint.sh .
23
 
24
  # Make entrypoint executable
25
  RUN chmod +x docker-entrypoint.sh
26
 
27
- # Create non-root user for security
28
- RUN useradd -m -u 1000 extractor && \
29
- chown -R extractor:extractor /app
30
 
31
- USER extractor
32
 
33
  # Expose volume for extracted files
34
  VOLUME ["/app/extracted", "/app/state"]
 
18
  RUN pip install --no-cache-dir -r requirements.txt
19
 
20
  # Copy the application code
21
+ COPY main.py .
22
  COPY docker-entrypoint.sh .
23
 
24
  # Make entrypoint executable
25
  RUN chmod +x docker-entrypoint.sh
26
 
 
 
 
27
 
 
28
 
29
  # Expose volume for extracted files
30
  VOLUME ["/app/extracted", "/app/state"]