Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -80,3 +80,10 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ jammy-pgdg main' > /etc/a
|
|
80 |
&& apt-get install --no-install-recommends -y postgresql-client \
|
81 |
&& rm -f /etc/apt/sources.list.d/pgdg.list \
|
82 |
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
&& apt-get install --no-install-recommends -y postgresql-client \
|
81 |
&& rm -f /etc/apt/sources.list.d/pgdg.list \
|
82 |
&& rm -rf /var/lib/apt/lists/*
|
83 |
+
|
84 |
+
WORKDIR /install
|
85 |
+
COPY requirements.txt ./
|
86 |
+
|
87 |
+
# Upgrade pip and setuptools
|
88 |
+
RUN pip install --upgrade pip setuptools && \
|
89 |
+
pip install --no-cache-dir --prefix=/install -r ./requirements.txt
|