mirror of
https://github.com/caprover/caprover
synced 2025-12-15 15:55:40 +00:00
14 lines
308 B
Plaintext
14 lines
308 B
Plaintext
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"]
|