Skip to content

Commit c54fdc0

Browse files
authored
🐛 simplify Dockerfile environment variable declarations (#265)
1 parent bfe84af commit c54fdc0

1 file changed

Lines changed: 2 additions & 10 deletions

File tree

infra/price-pusher/offchain/Dockerfile

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,12 @@
11
FROM python:3.12-slim AS base
22

3-
ENV PYTHONUNBUFFERED=1 \
4-
PYTHONDONTWRITEBYTECODE=1 \
5-
PIP_NO_CACHE_DIR=off \
6-
PIP_DISABLE_PIP_VERSION_CHECK=on \
7-
PIP_DEFAULT_TIMEOUT=100
3+
ENV PYTHONUNBUFFERED=1 PYTHONDONTWRITEBYTECODE=1 PIP_NO_CACHE_DIR=off PIP_DISABLE_PIP_VERSION_CHECK=on PIP_DEFAULT_TIMEOUT=100
84

95
ENV PATH="/root/.local/bin:${PATH}"
106

117
FROM base as builder
128

13-
RUN apt-get update &&
14-
apt-get install --no-install-recommends -y \
15-
gcc \
16-
libgmp3-dev \
17-
pipx
9+
RUN apt-get update && apt-get install --no-install-recommends -y gcc libgmp3-dev pipx
1810

1911
RUN pipx install uv
2012
COPY pragma-sdk/ /opt/pragma-sdk/

0 commit comments

Comments
 (0)