chicelli commited on
Commit
721d470
·
verified ·
1 Parent(s): 893c49c

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -5
Dockerfile CHANGED
@@ -6,14 +6,15 @@ ENV PYTHONUNBUFFERED=1 \
6
  POETRY_VIRTUALENVS_CREATE=false \
7
  POETRY_VERSION=1.8.3
8
 
9
- COPY . /app
10
- WORKDIR /app
11
-
12
  RUN apt-get update && apt-get install -y --no-install-recommends \
13
  build-essential \
14
  libpq-dev \
15
- && rm -rf /var/lib/apt/lists/* \
16
- pip install "poetry==$POETRY_VERSION" && \
 
 
 
 
17
  poetry export --without-hashes --format requirements.txt --output requirements.txt && \
18
  python3 -m pip wheel --no-cache-dir --no-deps -w /app/wheels -r requirements.txt
19
 
 
6
  POETRY_VIRTUALENVS_CREATE=false \
7
  POETRY_VERSION=1.8.3
8
 
 
 
 
9
  RUN apt-get update && apt-get install -y --no-install-recommends \
10
  build-essential \
11
  libpq-dev \
12
+ && rm -rf /var/lib/apt/lists/*
13
+
14
+ COPY . /app
15
+ WORKDIR /app
16
+
17
+ RUN pip install "poetry==$POETRY_VERSION" && \
18
  poetry export --without-hashes --format requirements.txt --output requirements.txt && \
19
  python3 -m pip wheel --no-cache-dir --no-deps -w /app/wheels -r requirements.txt
20