Technologic101 commited on
Commit
228cffb
·
1 Parent(s): 5bc6487

build: dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +9 -2
Dockerfile CHANGED
@@ -1,5 +1,7 @@
1
  # Use Python 3.11 slim image
2
- FROM python:3.11-slim
 
 
3
 
4
 
5
 
@@ -7,8 +9,13 @@ RUN useradd -m -u 1000 user
7
  USER user
8
  ENV PATH="/home/user/.local/bin:$PATH"
9
 
 
 
 
 
 
10
  # Install Poetry
11
- RUN curl -sSL https://install.python-poetry.org | python -
12
 
13
  WORKDIR /app
14
 
 
1
  # Use Python 3.11 slim image
2
+ FROM python:3.11
3
+
4
+
5
 
6
 
7
 
 
9
  USER user
10
  ENV PATH="/home/user/.local/bin:$PATH"
11
 
12
+ RUN apt-get update && apt-get install -y \
13
+ curl \
14
+ build-essential \
15
+ && rm -rf /var/lib/apt/lists/*
16
+
17
  # Install Poetry
18
+ RUN pip install poetry
19
 
20
  WORKDIR /app
21