From 613be397bf2d91a344f79278b32a9063918e05b9 Mon Sep 17 00:00:00 2001
From: Kartikey Agrawal <93374415+kartikey2001@users.noreply.github.com>
Date: Wed, 23 Oct 2024 16:00:08 +0530
Subject: [PATCH] Fix docker compose issue (#2799)
Fixed the `docker compose` issue, when trying to run the repository,
locally.
#2795
To test these out:
Run:
`docker compose pull`
`docker compose build`
`docker compose up`
---------
Co-authored-by: Amir Pourmand
---
Dockerfile | 2 ++
bin/entry_point.sh | 3 +++
2 files changed, 5 insertions(+)
diff --git a/Dockerfile b/Dockerfile
index f704814..0378ba3 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,12 @@
FROM ruby:latest
+
ENV DEBIAN_FRONTEND noninteractive
Label MAINTAINER Amir Pourmand
RUN apt-get update -y && apt-get install -y --no-install-recommends \
locales \
+ nodejs npm \
imagemagick \
build-essential \
zlib1g-dev \
diff --git a/bin/entry_point.sh b/bin/entry_point.sh
index cdd6f0f..b075954 100755
--- a/bin/entry_point.sh
+++ b/bin/entry_point.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+set -euo pipefail
+
+echo "Entry point script running"
CONFIG_FILE=_config.yml