Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
FROM python:3.
|
2 |
|
3 |
# Image to Build Dependencies
|
4 |
FROM base AS builder
|
@@ -8,7 +8,7 @@ WORKDIR /usr/src/app
|
|
8 |
COPY ./requirements.txt /usr/src/app
|
9 |
|
10 |
# Build Dependencies
|
11 |
-
RUN apt update && apt install -y gcc musl-tools libffi-dev libssl-dev libxml2-dev libxslt1-dev file llvm make g++ cargo rustc python3-dev libxml2
|
12 |
|
13 |
# Python Dependencies
|
14 |
RUN pip install --no-cache-dir --prefix=/install wheel cryptography gunicorn pymysql
|
|
|
1 |
+
FROM python:3.11 AS base
|
2 |
|
3 |
# Image to Build Dependencies
|
4 |
FROM base AS builder
|
|
|
8 |
COPY ./requirements.txt /usr/src/app
|
9 |
|
10 |
# Build Dependencies
|
11 |
+
RUN apt update && apt install -y gcc musl-tools libffi-dev libssl-dev libxml2-dev libxslt1-dev file llvm make g++ cargo rustc python3.11-dev libxml2
|
12 |
|
13 |
# Python Dependencies
|
14 |
RUN pip install --no-cache-dir --prefix=/install wheel cryptography gunicorn pymysql
|