Skip to content

Commit

Permalink
chore: update dockerfile (#916)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajasnosz authored Nov 14, 2023
1 parent c8021e9 commit 8be5775
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
FROM python:3.10.0-bullseye as base
FROM python:3.10.0-bullseye AS base

ENV PYTHONFAULTHANDLER=1 \
PYTHONHASHSEED=random \
PYTHONUNBUFFERED=1
RUN mkdir /app
WORKDIR /app

FROM base as builder
FROM base AS builder
RUN pip install --upgrade pip ;\
pip install poetry

Expand All @@ -18,10 +18,7 @@ RUN poetry config virtualenvs.in-project true ;\
. /app/.venv/bin/activate ;\
pip install dist/*.whl




FROM base as final
FROM base AS final

COPY --from=builder /app/.venv /app/.venv
COPY entrypoint.sh ./
Expand Down

0 comments on commit 8be5775

Please sign in to comment.