tester in docker works
This commit is contained in:
2
dockerfiles/postgres/Dockerfile
Normal file
2
dockerfiles/postgres/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM postgres
|
||||
COPY ../../pg_hba.conf /var/lib/postgresql/data/pg_hba.conf
|
2
dockerfiles/rabbitmq/Dockerfile
Normal file
2
dockerfiles/rabbitmq/Dockerfile
Normal file
@@ -0,0 +1,2 @@
|
||||
FROM rabbitmq:3.7.9-management
|
||||
RUN rabbitmq-plugins enable rabbitmq_consistent_hash_exchange
|
17
dockerfiles/sprint/Dockerfile
Normal file
17
dockerfiles/sprint/Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM docker:dind
|
||||
|
||||
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
||||
RUN python3 -m ensurepip
|
||||
RUN apk update && apk add postgresql-dev gcc python3-dev musl-dev jpeg-dev zlib-dev libjpeg
|
||||
RUN pip3 install --no-cache --upgrade pip setuptools
|
||||
|
||||
ENV PYTHONUNBUFFERED 1
|
||||
ENV DJANGO_SETTINGS_MODULE Sprint.settings
|
||||
RUN mkdir -p /usr/src/app/
|
||||
WORKDIR /usr/src/app/
|
||||
|
||||
COPY ../.. /usr/src/app/
|
||||
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
||||
EXPOSE 8000
|
3
dockerfiles/worker/Dockerfile
Normal file
3
dockerfiles/worker/Dockerfile
Normal file
@@ -0,0 +1,3 @@
|
||||
FROM docker:dind
|
||||
|
||||
WORKDIR /usr/src/app/
|
Reference in New Issue
Block a user