thedamn commited on
Commit
88ca574
·
1 Parent(s): e9c9e5c
Files changed (1) hide show
  1. Dockerfile +9 -14
Dockerfile CHANGED
@@ -1,21 +1,16 @@
1
- # Use an official Python runtime as the base image
2
- FROM python:3.9-slim
3
 
4
- # Set the working directory in the container
5
- WORKDIR /app
6
-
7
- # Install system packages using apt-get
8
- RUN apt-get update \
9
- && apt-get install -y git \
10
- && rm -rf /var/lib/apt/lists/*
11
 
12
- # Copy the requirements file to the working directory
13
- COPY requirements.txt .
14
 
15
- # Install the Python dependencies
16
- RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- # Copy the entire project directory to the working directory
19
  COPY . .
20
 
21
  EXPOSE 7860
 
1
+ # Use an official Ubuntu base image
2
+ FROM ubuntu:latest
3
 
4
+ # Update the package lists
5
+ RUN apt-get update
 
 
 
 
 
6
 
7
+ # Install system packages
8
+ RUN apt-get install -y grep cut git
9
 
10
+ # Set the working directory in the container
11
+ WORKDIR /app
12
 
13
+ # Copy the rest of your application files
14
  COPY . .
15
 
16
  EXPOSE 7860