This commit is contained in:
parent
477d49bf3f
commit
03223f9391
3 changed files with 3 additions and 4 deletions
|
@ -97,8 +97,6 @@ services:
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./docker/frontend
|
context: ./docker/frontend
|
||||||
args:
|
|
||||||
BUILD_ENV: production
|
|
||||||
container_name: frontend
|
container_name: frontend
|
||||||
restart: always
|
restart: always
|
||||||
networks:
|
networks:
|
||||||
|
|
|
@ -24,7 +24,6 @@ ARG BUILD_ENV
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=deps /app/shard.yml /app/shard.lock ./
|
COPY --from=deps /app/shard.yml /app/shard.lock ./
|
||||||
COPY --from=deps /app/lib ./lib
|
COPY --from=deps /app/lib ./lib
|
||||||
COPY ./LICENSE ./LICENSE
|
|
||||||
COPY ./Makefile ./Makefile
|
COPY ./Makefile ./Makefile
|
||||||
COPY ./src ./src
|
COPY ./src ./src
|
||||||
RUN if [ "${BUILD_ENV}" = "development" ]; then \
|
RUN if [ "${BUILD_ENV}" = "development" ]; then \
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
# along with this program. If not, see <https://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
require "shard"
|
||||||
|
|
||||||
module Backend
|
module Backend
|
||||||
LICENSE = {{ read_file "LICENSE" }}
|
LICENSE = Shard.license
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue