Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
JunjieLl committed Oct 27, 2024
1 parent 924bc91 commit 1b1e377
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions environment/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:18.04
FROM python:3.10.8

ENV TZ=Asia/Shanghai
ENV DEBIAN_FRONTEND=noninteractive
Expand All @@ -7,6 +7,6 @@ COPY ./requirements.txt /tmp/requirements.txt

RUN apt-get update && \
apt-get upgrade -y && \
apt-get install -y sudo vim wget git libsndfile1 espeak-ng sox zip python3.10 python3-pip && \
apt-get install -y sudo vim wget git libsndfile1 espeak-ng sox zip && \
apt-get clean && \
pip3 install --no-cache-dir -r /tmp/requirements.txt && rm /tmp/requirements.txt
pip install -r /tmp/requirements.txt --no-cache-dir && rm /tmp/requirements.txt

0 comments on commit 1b1e377

Please sign in to comment.