mirror of
https://github.com/caprover/caprover
synced 2026-09-26 16:45:39 +00:00
@@ -0,0 +1,12 @@
|
||||
RUN apk --update add make g++
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY ./src/Gemfile /usr/src/app/
|
||||
RUN bundle install
|
||||
COPY ./src /usr/src/app
|
||||
ENV RACK_ENV production
|
||||
EXPOSE 80
|
||||
|
||||
CMD ["rackup", "config.ru", "--host", "0.0.0.0", "--port", "80"]
|
||||
@@ -95,6 +95,13 @@ class TemplateHelper {
|
||||
dockerFileFromName: 'python',
|
||||
displayName: 'Python',
|
||||
tagSuffix: '-alpine3.6'
|
||||
},
|
||||
{
|
||||
templateName: 'ruby-rack',
|
||||
dockerHubImageName: 'library/ruby',
|
||||
dockerFileFromName: 'ruby-rack',
|
||||
displayName: 'Ruby Rack',
|
||||
tagSuffix: '-alpine3.7'
|
||||
}
|
||||
];
|
||||
|
||||
@@ -253,4 +260,4 @@ module.exports = {
|
||||
get: function () {
|
||||
return templateHelperInstance;
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
Submodule
+1
Submodule captain-sample-apps/ruby-rack added at b4539f6147
Binary file not shown.
Reference in New Issue
Block a user