2024-10-02 18:58:17 +00:00
|
|
|
ARG FROM_IMAGE=baserow/baserow:1.28.0
|
2022-02-22 14:51:38 +00:00
|
|
|
# This is pinned as version pinning is done by the CI setting FROM_IMAGE.
|
|
|
|
# hadolint ignore=DL3006
|
|
|
|
FROM $FROM_IMAGE as image_base
|
2021-07-13 19:37:37 +00:00
|
|
|
|
2022-10-13 08:36:13 +00:00
|
|
|
RUN apt-get remove -y "postgresql-$POSTGRES_VERSION" redis-server
|
2021-07-13 19:37:37 +00:00
|
|
|
|
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
|
|
|
|
2022-02-22 14:51:38 +00:00
|
|
|
COPY deploy/heroku/heroku_env.sh /baserow/supervisor/env/heroku_env.sh
|
2022-02-28 12:33:57 +00:00
|
|
|
|
2022-03-01 21:49:49 +00:00
|
|
|
ENTRYPOINT []
|
2022-07-05 12:55:59 +00:00
|
|
|
CMD []
|