update dockerfiles
- define user uid/gid - use new geedeecee files (hopefully means smaller images, faster building)
This commit is contained in:
parent
e370cb5ef9
commit
9b331cc105
15 changed files with 95 additions and 119 deletions
|
|
@ -1,9 +1,10 @@
|
|||
# syntax=docker/dockerfile:1
|
||||
|
||||
FROM nginx
|
||||
ARG APP_FILES="build/"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
COPY ./docker/nginx.conf /etc/nginx/nginx.conf
|
||||
COPY ./nginx.conf /etc/nginx/nginx.conf
|
||||
|
||||
COPY ./build/distributions /usr/share/nginx/html
|
||||
COPY $APP_FILES /usr/share/nginx/html
|
||||
|
|
|
|||
|
|
@ -7,10 +7,11 @@ services:
|
|||
container_name: ${APP_NAME}
|
||||
restart: unless-stopped
|
||||
build:
|
||||
context: ".."
|
||||
dockerfile: ./docker/Dockerfile
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
args:
|
||||
APP_NAME: ${APP_NAME}
|
||||
KAFKATORIO_VERSION: ${KAFKATORIO_VERSION}
|
||||
APP_FILES: "./build/"
|
||||
ports:
|
||||
- "12081:80"
|
||||
networks:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue