init
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
FROM ruby:3.3-slim
|
||||
|
||||
# Install dependencies needed for gems and mysql2
|
||||
RUN apt-get update -qq && apt-get install -y \
|
||||
build-essential \
|
||||
default-libmysqlclient-dev \
|
||||
git \
|
||||
pkg-config
|
||||
|
||||
WORKDIR /app
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
RUN bundle install
|
||||
|
||||
COPY . .
|
||||
|
||||
# Start the Puma server
|
||||
CMD ["bundle", "exec", "puma", "-p", "4567"]
|
||||
Reference in New Issue
Block a user