All checks were successful
continuous-integration/drone/push Build is passing
- using cache - reorder docker build steps
19 lines
255 B
Docker
19 lines
255 B
Docker
# Stage 1: init
|
|
FROM python:3.11 as init
|
|
|
|
ARG API_URL
|
|
|
|
WORKDIR /app
|
|
|
|
ENV VIRTUAL_ENV=/app/.venv
|
|
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
|
|
RUN python3.11 -m venv $VIRTUAL_ENV
|
|
|
|
COPY requirements.txt .
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
COPY . .
|
|
|
|
RUN reflex init
|