houdini/docker/build/Dockerfile
Bradley M. Kuhn 6d783df5f1 docker: begin rewrite of Dockerfile setup for current instructions
First step in rewriting the Dockerfile to match the current
setup/installation/configuration instructions as found in README.md.

First step it to comment out some of the later stuff, and begin setup
of installing everything into /houdini (instead of /myapp) and doing
everything under the houdini user.
2021-08-09 16:55:39 -07:00

17 lines
681 B
Docker

# syntax=docker/dockerfile:1
FROM bullseye
COPY script/build/debian/prebuild.sh houdini/script/build/debian/prebuild.sh
RUN houdini/script/build/debian/prebuild.sh
RUN /sbin/useradd --home-dir /houdini --create-home --shell /bin/bash houdini
USER houdini
COPY script/build/debian/node.sh houdini/script/build/debian/node.sh
RUN houdini/script/build/debian/node.sh
# COPY script/build/debian/postgres.sh houdini/script/build/debian/postgres.sh
# RUN houdini/script/build/debian/postgres.sh
# COPY gems /houdini/gems/
# WORKDIR /houdini
# COPY Gemfile /houdini/Gemfile
# COPY Gemfile.lock /houdini/Gemfile.lock
# RUN gem install bundler -v "~>1.0"
# RUN bundle install
# CMD rake -T