1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-03-13 04:03:22 +00:00
bramw_baserow/heroku.Dockerfile

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
590 B
Text
Raw Permalink Normal View History

2024-10-02 18:58:17 +00:00
ARG FROM_IMAGE=baserow/baserow:1.28.0
# This is pinned as version pinning is done by the CI setting FROM_IMAGE.
# hadolint ignore=DL3006
FROM $FROM_IMAGE as image_base
RUN apt-get remove -y "postgresql-$POSTGRES_VERSION" redis-server
2022-02-28 14:00:03 +00:00
ENV DATA_DIR=/baserow/data
# We have to build the data dir in the docker image as Caddy does not allow it in their
# runtime filesystem. We chown to their www-data user's uid and gid at the end.
RUN mkdir -p "$DATA_DIR" && \
2022-02-28 17:02:47 +00:00
chown -R 9999:9999 "$DATA_DIR"
2022-02-28 14:00:03 +00:00
COPY deploy/heroku/heroku_env.sh /baserow/supervisor/env/heroku_env.sh
2022-03-01 21:49:49 +00:00
ENTRYPOINT []
2022-07-05 12:55:59 +00:00
CMD []