Created Docker Files

This commit is contained in:
Dzejkobik007
2023-01-03 23:54:23 +01:00
parent 139542062a
commit bf7a3f0a7c
3 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
version: '3'
services:
nginx:
build:
context: .
dockerfile: nginx/Dockerfile
restart: always
container_name: api-calcc
ports:
- 80:80
networks:
- internal
php:
build:
context: .
dockerfile: php/Dockerfile
networks:
- internal
networks:
internal:
driver: bridge

View File

@@ -0,0 +1,3 @@
FROM nginx:1.23.1-alpine
COPY src /var/www/html/
COPY nginx/default.conf /etc/nginx/conf.d

View File

@@ -0,0 +1,2 @@
FROM php:fpm-alpine
COPY src /var/www/html/