LoginSignup
0

More than 3 years have passed since last update.

pipfileを作成して dockerに反映したい

Last updated at Posted at 2020-10-14

pipfileを作成して dockerに反映したい

pipenv install django-localflavor

これをローカルで行う。

# Dockerfile
COPY Pipfile .
COPY Pipfile.lock .
RUN pip install pipenv
RUN pipenv install --system
docker-compose build

これで、Docker環境に反映できる

Docker環境に入って、pipでインストールとかしてもなぜかダメで、ローカルで環境をインストールしてからやる必要がある

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0