From 03223f9391ea5fac0424b494e7cd577519eced0e Mon Sep 17 00:00:00 2001 From: Dominic Grimm Date: Fri, 25 Feb 2022 16:31:38 +0100 Subject: [PATCH] Updated meta --- docker-compose.yml | 2 -- docker/backend/Dockerfile | 1 - docker/backend/src/backend/license.cr | 4 +++- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 027a437..a645a95 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -97,8 +97,6 @@ services: frontend: build: context: ./docker/frontend - args: - BUILD_ENV: production container_name: frontend restart: always networks: diff --git a/docker/backend/Dockerfile b/docker/backend/Dockerfile index b9f6dae..a8b68b1 100644 --- a/docker/backend/Dockerfile +++ b/docker/backend/Dockerfile @@ -24,7 +24,6 @@ ARG BUILD_ENV WORKDIR /app COPY --from=deps /app/shard.yml /app/shard.lock ./ COPY --from=deps /app/lib ./lib -COPY ./LICENSE ./LICENSE COPY ./Makefile ./Makefile COPY ./src ./src RUN if [ "${BUILD_ENV}" = "development" ]; then \ diff --git a/docker/backend/src/backend/license.cr b/docker/backend/src/backend/license.cr index 60af5e4..7f795e0 100644 --- a/docker/backend/src/backend/license.cr +++ b/docker/backend/src/backend/license.cr @@ -14,6 +14,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see . +require "shard" + module Backend - LICENSE = {{ read_file "LICENSE" }} + LICENSE = Shard.license end