Merge pull request #6520 from ToolJet/fix/try-tj-build

Fix try tooljet build
This commit is contained in:
Akshay 2023-05-24 16:07:55 +05:30 committed by GitHub
commit e8403a25c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,6 +4,7 @@ FROM tooljet/tooljet-ce:latest
COPY --from=postgrest/postgrest:v10.1.1.20221215 /bin/postgrest /bin
# Install Postgres
USER root
RUN wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
RUN echo "deb http://apt.postgresql.org/pub/repos/apt/ bullseye-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list
RUN echo "deb http://deb.debian.org/debian"
@ -33,6 +34,7 @@ RUN echo "[supervisord] \n" \
# ENV defaults
ENV TOOLJET_HOST=http://localhost \
PORT=80 \
NODE_ENV=production \
LOCKBOX_MASTER_KEY=replace_with_lockbox_master_key \
SECRET_KEY_BASE=replace_with_secret_key_base \
PG_DB=tooljet_production \
@ -49,6 +51,7 @@ ENV TOOLJET_HOST=http://localhost \
PGRST_JWT_SECRET=r9iMKoe5CRMgvJBBtp4HrqN7QiPpUToj \
ORM_LOGGING=true \
DEPLOYMENT_PLATFORM=docker:local \
HOME=/home/appuser \
TERM=xterm
# Prepare DB and start application