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
|
||||
build:
|
||||
context: ./nginx
|
||||
dockerfile: Dockerfile.local
|
||||
args:
|
||||
BUILD_TYPE: production.local
|
||||
ports:
|
||||
|
|
|
@ -3,4 +3,3 @@ 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/
|
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