тест ci/cd
This commit is contained in:
parent
8143358eb5
commit
f2a3ecd194
3 changed files with 2 additions and 38 deletions
|
@ -6,24 +6,6 @@ ENV APP_HOME=/home/app
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
# RUN apk add --no-cache \
|
|
||||||
# build-base \
|
|
||||||
# python3-dev \
|
|
||||||
# libffi-dev \
|
|
||||||
# openssl-dev \
|
|
||||||
# musl-dev \
|
|
||||||
# gcc \
|
|
||||||
# libc-dev
|
|
||||||
|
|
||||||
# RUN apk update \
|
|
||||||
# && apk add --no-cache gcc git python3-dev musl-dev linux-headers \
|
|
||||||
# libc-dev rsync zsh \
|
|
||||||
# findutils wget util-linux grep libxml2-dev libxslt-dev
|
|
||||||
|
|
||||||
# RUN apt-get update \
|
|
||||||
# && apt-get -y install curl gcc libpq-dev \
|
|
||||||
# && apt-get clean
|
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip config set global.trusted-host "pypi.python.org pypi.org files.pythonhosted.org" && \
|
RUN pip config set global.trusted-host "pypi.python.org pypi.org files.pythonhosted.org" && \
|
||||||
|
|
|
@ -6,24 +6,6 @@ ENV APP_HOME=/home/app
|
||||||
|
|
||||||
WORKDIR $APP_HOME
|
WORKDIR $APP_HOME
|
||||||
|
|
||||||
# RUN apk add --no-cache \
|
|
||||||
# build-base \
|
|
||||||
# python3-dev \
|
|
||||||
# libffi-dev \
|
|
||||||
# openssl-dev \
|
|
||||||
# musl-dev \
|
|
||||||
# gcc \
|
|
||||||
# libc-dev
|
|
||||||
|
|
||||||
# RUN apk update \
|
|
||||||
# && apk add --no-cache gcc git python3-dev musl-dev linux-headers \
|
|
||||||
# libc-dev rsync zsh \
|
|
||||||
# findutils wget util-linux grep libxml2-dev libxslt-dev
|
|
||||||
|
|
||||||
# RUN apt-get update \
|
|
||||||
# && apt-get -y install curl gcc libpq-dev \
|
|
||||||
# && apt-get clean
|
|
||||||
|
|
||||||
COPY requirements.txt .
|
COPY requirements.txt .
|
||||||
|
|
||||||
RUN pip config set global.trusted-host "pypi.python.org pypi.org files.pythonhosted.org" && \
|
RUN pip config set global.trusted-host "pypi.python.org pypi.org files.pythonhosted.org" && \
|
||||||
|
|
|
@ -5,7 +5,7 @@ services:
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8888:8000"
|
- "127.0.0.1:8888:8000"
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- .env
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
celery:
|
celery:
|
||||||
|
@ -17,7 +17,7 @@ services:
|
||||||
image: ${CHAT_CELERY_IMAGE}
|
image: ${CHAT_CELERY_IMAGE}
|
||||||
container_name: celery
|
container_name: celery
|
||||||
env_file:
|
env_file:
|
||||||
- ../.env
|
- .env
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
- bp_chat
|
- bp_chat
|
||||||
|
|
Loading…
Add table
Reference in a new issue