verejny kontaktnicek #71
					 2 changed files with 0 additions and 22 deletions
				
			
		
							
								
								
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								Dockerfile
									
									
									
									
									
								
							|  | @ -1,10 +0,0 @@ | ||||||
| FROM python:3.11.10-bookworm |  | ||||||
| WORKDIR /usr/src/app |  | ||||||
| 
 |  | ||||||
| RUN pip install --upgrade pip |  | ||||||
| COPY ./requirements.txt . |  | ||||||
| RUN pip install -r requirements.txt |  | ||||||
| 
 |  | ||||||
| COPY . . |  | ||||||
| 
 |  | ||||||
| CMD ["python3", "manage.py", "runserver", "0.0.0.0:8000"] |  | ||||||
|  | @ -1,12 +0,0 @@ | ||||||
| version: '3' |  | ||||||
| 
 |  | ||||||
| services: |  | ||||||
|   django_app: |  | ||||||
|     build: . |  | ||||||
|     volumes: |  | ||||||
|       - this_vol:/usr/src/app/ |  | ||||||
|     ports: |  | ||||||
|       - 8000:8000 |  | ||||||
| 
 |  | ||||||
| volumes: |  | ||||||
|   this_vol: |  | ||||||
		Loading…
	
		Reference in a new issue