mirror of
https://github.com/caprover/caprover
synced 2025-10-30 01:57:03 +00:00
18 lines
416 B
Plaintext
18 lines
416 B
Plaintext
# FROM ruby:2.7.1-alpine
|
|
# Uncomment the line above if you want to use a Dockerfile instead of templateId
|
|
|
|
|
|
RUN apk update && apk upgrade && \
|
|
apk add --no-cache make g++ git postgresql-dev
|
|
|
|
RUN mkdir -p /usr/src/app
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY ./Gemfile /usr/src/app/
|
|
RUN bundle install
|
|
COPY ./ /usr/src/app
|
|
ENV RACK_ENV production
|
|
EXPOSE 80
|
|
|
|
CMD ["rackup", "config.ru", "--host", "0.0.0.0", "--port", "80"]
|