mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
Fix prod vs prod local builds
This commit is contained in:
parent
05bee25891
commit
6a7179e745
|
@ -58,6 +58,7 @@ services:
|
||||||
restart: always
|
restart: always
|
||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
|
dockerfile: Dockerfile.local
|
||||||
args:
|
args:
|
||||||
BUILD_TYPE: production.local
|
BUILD_TYPE: production.local
|
||||||
ports:
|
ports:
|
||||||
|
|
|
@ -2,5 +2,4 @@ FROM nginx:stable-alpine3.17-slim
|
||||||
ARG BUILD_TYPE=production
|
ARG BUILD_TYPE=production
|
||||||
|
|
||||||
# Сopу nginx configuration to the proxy-server
|
# Сopу nginx configuration to the proxy-server
|
||||||
COPY ./$BUILD_TYPE.conf /etc/nginx/conf.d/default.conf
|
COPY ./$BUILD_TYPE.conf /etc/nginx/conf.d/default.conf
|
||||||
COPY ./cert/*.pem /etc/ssl/private/
|
|
6
nginx/Dockerfile.local
Normal file
6
nginx/Dockerfile.local
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
FROM nginx:stable-alpine3.17-slim
|
||||||
|
ARG BUILD_TYPE=production
|
||||||
|
|
||||||
|
# Сopу nginx configuration to the proxy-server
|
||||||
|
COPY ./$BUILD_TYPE.conf /etc/nginx/conf.d/default.conf
|
||||||
|
COPY ./cert/*.pem /etc/ssl/private/
|
Loading…
Reference in New Issue
Block a user