Commit e7d246bd authored by root's avatar root

updated docker file

parent 581de553
...@@ -5,4 +5,4 @@ ADD . /code ...@@ -5,4 +5,4 @@ ADD . /code
COPY . /code COPY . /code
WORKDIR /code WORKDIR /code
RUN pip install -r requirements/local.txt RUN pip install -r requirements/local.txt
EXPOSE 9080 EXPOSE 7010
version: '3' version: '3'
services: services:
main-service: web:
build: . build: .
command: python manage.py runserver 0.0.0.0:8000 command: python manage.py runserver 0.0.0.0:8000
container_name: main-service
volumes: volumes:
- .:/code - .:/code
ports: ports:
- 9080:8000 - "7010:8000"
\ No newline at end of file container_name: devrms_apimain-service
networks:
apidevrms_net:
ipv4_address: 172.168.70.10
networks:
apidevrms_net:
driver: bridge
ipam:
config:
- subnet: 172.168.70.0/16
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment