From a6802c6154ff3eec23412a738fc93c2bc0f364c5 Mon Sep 17 00:00:00 2001 From: Juriba Date: Sun, 1 Sep 2024 05:18:43 +0300 Subject: [PATCH] add docker build test --- .github/workflows/ci.yml | 4 ++++ apps/client/Dockerfile | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5a0e3ae..1cd847b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -39,3 +39,7 @@ jobs: name: test-coverage path: 'coverage/apps/**' + - name: test building docker images + run: | + docker build -t test-server-image -f apps/server/Dockerfile . + docker build -t test-client-image -f apps/client/Dockerfile . diff --git a/apps/client/Dockerfile b/apps/client/Dockerfile index 0004152..5b6b165 100644 --- a/apps/client/Dockerfile +++ b/apps/client/Dockerfile @@ -29,8 +29,6 @@ COPY apps/client/nginx.conf /etc/nginx/nginx.conf RUN apk add --no-cache gettext -COPY apps/client/env.sh /docker-entrypoint.d/40-env.sh - RUN chown -R nginx:nginx /usr/share/nginx/html && \ chmod -R 755 /usr/share/nginx/html && \