docker_ignore, Poetry 설치

dooh kim·2020년 2월 6일
0

pycharm plugin - ignore, gittool box


.dockerignore 추가

/.git
/.media
/secrets.json

Dockfile

FROM        python:3.7-slim

RUN         apt -y update && apt -y dist-upgrade


COPY        ./.requirements/production.txt /tmp/
RUN         pip install -r /tmp/production.txt

COPY        . /srv/instagram
WORKDIR     /srv/instagram/app

RUN         python manage.py runserver 0:8000

$ which poetry
/home/kimdooh/.poetry/bin/poetry

$ sudo docker build -t kimdooh2019/wps-instagram -f Dockerfile .

2020-02-06 10:02 작성됨

profile
testify to the light

0개의 댓글