From 7aa52bb0c5616c3f257c11e79c73ae3f380e7d8c Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Sun, 28 Mar 2021 14:03:08 -0500 Subject: [PATCH] move env --- api/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/api/Dockerfile b/api/Dockerfile index f3adcf5..e9948d8 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,5 +1,7 @@ FROM node:15.8.0-buster-slim +ENV DEBIAN_FRONTEND=noninteractive + RUN dpkg-reconfigure -p critical dash RUN for i in $(seq 1001 1500); do \ groupadd -g $i runner$i && \ @@ -14,7 +16,7 @@ RUN apt-get update && \ RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen ENV NODE_ENV=production -ENV DEBIAN_FRONTEND noninteractive + WORKDIR /piston_api COPY ["package.json", "yarn.lock", "./"] RUN yarn