Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kiss2u authored Nov 5, 2024
1 parent 9f0fb90 commit cf6fca5
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,13 @@ WORKDIR /app
COPY . /app

# 安装依赖
RUN pip install --no-cache-dir -r requirements.txt
RUN apt-get update && apt-get install -y \
build-essential \
libssl-dev \
libffi-dev \
python3-dev \
&& pip install --upgrade pip \
&& pip install --no-cache-dir -r requirements.txt

# 暴露端口
EXPOSE 8080
Expand Down

0 comments on commit cf6fca5

Please sign in to comment.