update dockerfiles

- define user uid/gid
- use new geedeecee files (hopefully means smaller images, faster building)
This commit is contained in:
Adam 2022-10-22 19:55:02 +02:00
parent e370cb5ef9
commit 9b331cc105
15 changed files with 95 additions and 119 deletions

View file

@ -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

View file

@ -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: