From dd1dd027d50ecd0810c8699773c09838caee291e Mon Sep 17 00:00:00 2001 From: John Cohen Date: Thu, 6 Jun 2024 15:28:45 -0700 Subject: [PATCH] update docker file to enable cli --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5982dc1..0109b7b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,14 +1,17 @@ -FROM node:14 +FROM ubuntu:20.04 ENV PATH=/usr/src/app:$PATH RUN mkdir -p /usr/src/app +RUN apt update +RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata +RUN apt install -y gcc make g++ pkg-config libpixman-1-dev libcairo2-dev libpango1.0-dev libjpeg8-dev libgif-dev nodejs npm imagemagick +RUN npm install -g ts-node COPY . /usr/src/app -RUN cd /usr/src/app && npm install typescript +RUN cd /usr/src/app && npm install VOLUME /usr/src/proj WORKDIR /usr/src/proj ENTRYPOINT ["entrypoint.sh"] -