Export vars

This commit is contained in:
Kseninia Mikhaylova 2024-07-25 13:47:13 +03:00
parent 5e4da721c8
commit 188fd831ac
1 changed files with 1 additions and 1 deletions

View File

@ -13,4 +13,4 @@ RUN npm install --omit=dev
COPY . /src
RUN npm run build
# CMD npm run preview -- --host
CMD node .output/server/index.mjs
CMD export $(cat .env | egrep -v '#|^$' | xargs) && node .output/server/index.mjs