Skip to content

Commit

Permalink
Dockerfile에 ENV 추가 (#23)
Browse files Browse the repository at this point in the history
이거 왜 안돼있지 ㅋㅋㅋ
  • Loading branch information
shp7724 authored Dec 14, 2023
1 parent 5a413bf commit 97736f9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,11 @@ RUN --mount=type=cache,target=$POETRY_CACHE_DIR poetry install --without dev --n

FROM python:3.11-slim-buster as runtime

ARG ENV

ENV VIRTUAL_ENV=/app/.venv \
PATH="/app/.venv/bin:$PATH"
PATH="/app/.venv/bin:$PATH" \
env=$ENV

RUN apt-get update && apt-get install -y --no-install-recommends \
libmariadb-dev \
Expand Down

0 comments on commit 97736f9

Please sign in to comment.