From 4ccd3e08617d6aa5fbf9b5a42bf8c455cd446a50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20=C5=9Aled=C5=BA?= Date: Tue, 17 May 2022 18:37:49 +0200 Subject: [PATCH] Remove unused files. Fix hex configuration. --- Dockerfile | 57 -------------------------------------------- mix.exs | 7 ++---- priv/static/.gitkeep | 0 3 files changed, 2 insertions(+), 62 deletions(-) delete mode 100644 Dockerfile delete mode 100644 priv/static/.gitkeep diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index cb2486410..000000000 --- a/Dockerfile +++ /dev/null @@ -1,57 +0,0 @@ -FROM membrane/membrane:latest AS build - -# Create build workdir -WORKDIR /app - -# set build ENV -ENV MIX_ENV=test - -# install mix dependencies -COPY mix.exs mix.lock ./ - -# build assets -COPY package.json package.json -COPY priv priv -COPY assets assets - -# get deps and install libraries -COPY lib lib -COPY integration integration -RUN mix deps.get -RUN npm i esbuild --prefix=assets -RUN npm i typescript --prefix=assets -RUN npm ci --prefix=assets -RUN mix deps.compile - - -WORKDIR /app/integration/test_videoroom - -# Remove local assets -RUN rm -rf _build -RUN rm -rf deps -RUN rm -rf assets/node_modules -RUN rm -rf priv - - -# get deps and install libraries -RUN mix deps.update --all -RUN mix deps.get -RUN npm ci --prefix=assets -RUN npm i playwright@1.18.1 --prefix=assets -RUN npm i esbuild --prefix=assets - -# Compile js app -RUN mix esbuild default --minify -RUN mix phx.digest - - -EXPOSE 4001 - - -WORKDIR /app - -ENV USE_INTEGRATED_TURN="true" -ENV INTEGRATED_TURN_IP="127.0.0.1" -ENV INTEGRATED_TURN_PORT_RANGE="50000-50500" - -CMD ["mix", "integration"] \ No newline at end of file diff --git a/mix.exs b/mix.exs index 78ccc5369..c1c31e694 100644 --- a/mix.exs +++ b/mix.exs @@ -87,14 +87,11 @@ defmodule Membrane.RTC.Engine.MixProject do defp package do [ maintainers: ["Membrane Team"], - licenses: ["Apache 2.0"], + licenses: ["Apache-2.0"], links: %{ "GitHub" => @github_url, "Membrane Framework Homepage" => "https://membraneframework.org" - }, - files: - ~w(lib mix.exs .formatter.exs LICENSE README.md) ++ - ~w(assets/js assets/package.json assets/package-lock.json assets/tsconfig.json assets/esbuild.js package.json) + } ] end diff --git a/priv/static/.gitkeep b/priv/static/.gitkeep deleted file mode 100644 index e69de29bb..000000000