Commit ad2b9f1c authored by John Wang's avatar John Wang

feat: use python slim base image

parent 63a7f8f3
FROM python:3.10-alpine3.18 FROM python:3.10-slim
LABEL maintainer="takatost@gmail.com" LABEL maintainer="takatost@gmail.com"
...@@ -15,7 +15,8 @@ EXPOSE 5001 ...@@ -15,7 +15,8 @@ EXPOSE 5001
WORKDIR /app/api WORKDIR /app/api
RUN apk add --no-cache bash curl wget vim build-base python3-dev libffi-dev RUN apt-get update && \
apt-get install -y bash curl wget vim gcc g++ python3-dev libc-dev libffi-dev
COPY requirements.txt /app/api/requirements.txt COPY requirements.txt /app/api/requirements.txt
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment