Spaces:
Sleeping
Sleeping
added changes to bump-pydantic
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -9,6 +9,10 @@ WORKDIR /app
|
|
9 |
# Copy the current directory contents into the container at /app
|
10 |
COPY . /app
|
11 |
|
|
|
|
|
|
|
|
|
12 |
RUN apt-get update -y
|
13 |
RUN apt-get install -y python-gdbm
|
14 |
# Install any needed packages specified in requirements.txt
|
|
|
9 |
# Copy the current directory contents into the container at /app
|
10 |
COPY . /app
|
11 |
|
12 |
+
RUN pip install bump-pydantic
|
13 |
+
|
14 |
+
RUN bump-pydantic tortoise/models/config.py --set version 2.0.0
|
15 |
+
|
16 |
RUN apt-get update -y
|
17 |
RUN apt-get install -y python-gdbm
|
18 |
# Install any needed packages specified in requirements.txt
|