[~] Refactor

This commit is contained in:
Siarhei Siniak 2021-11-02 08:07:24 +03:00
parent 4828832a62
commit 37d79e53ba
4 changed files with 27 additions and 0 deletions

3
.dockerignore Normal file

@ -0,0 +1,3 @@
*
.*
!d1/blank-app-nginx.conf

11
d1/blank-app-nginx.conf Normal file

@ -0,0 +1,11 @@
events {
multi_accept on;
worker_connections 1024;
}
http {
server {
listen 80;
return 301 https://product-development-service.blogspot.com;
}
}

10
docker-compose.yml Normal file

@ -0,0 +1,10 @@
version: '3.7'
services:
blank-app:
build:
context: .
dockerfile: ./docker/blank-app/Dockerfile
ports:
- 80:80
volumes:
- .:/app:rw

@ -0,0 +1,3 @@
FROM nginx:latest
COPY d1/blank-app-nginx.conf /etc/nginx/nginx.conf