Skip to content

Commit

Permalink
fixup! ✨ feat(payment-service): Add payment-service implementation wi…
Browse files Browse the repository at this point in the history
…th flask
  • Loading branch information
orazefabian committed Jul 19, 2024
1 parent b4a5953 commit 3d3a5a3
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions src/payment-service/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,13 @@
FROM python:3.8.0-slim-buster

# Set environment variables for POETRY to always install a fixed version and into /usr/bin/
ENV POETRY_VERSION=1.8.3
ENV POETRY_HOME=/usr

# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
build-essential \
libpq-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Poetry - respects $POETRY_VERSION & $POETRY_HOME
RUN curl -sSL https://install.python-poetry.org | python -
# Install Poetry
RUN pip install poetry==1.8.3

# Copy only requirements to cache them in docker layer
WORKDIR /poetry
Expand Down

0 comments on commit 3d3a5a3

Please sign in to comment.