userrein commited on
Commit
6bb8feb
·
verified ·
1 Parent(s): 63a23d3

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +13 -11
Dockerfile CHANGED
@@ -1,18 +1,20 @@
1
- FROM python:3.10-slim
2
 
3
- WORKDIR /app
4
 
5
- # install dependency system
6
- RUN apt-get update && apt-get install -y \
7
- git \
8
  curl \
 
 
 
 
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- # copy project
12
- COPY . /app
13
 
14
- # install python requirements
15
- RUN pip install --no-cache-dir -r requirements.txt
16
 
17
- # jalankan app
18
- CMD ["python", "app.py"]
 
1
+ FROM ubuntu:22.04
2
 
3
+ ENV DEBIAN_FRONTEND=noninteractive
4
 
5
+ RUN apt-get update && \
6
+ apt-get install -y \
7
+ bash \
8
  curl \
9
+ wget \
10
+ git \
11
+ nano \
12
+ python3 \
13
+ python3-pip \
14
  && rm -rf /var/lib/apt/lists/*
15
 
16
+ WORKDIR /workspace
 
17
 
18
+ EXPOSE 7860
 
19
 
20
+ CMD ["bash"]