Initial commit of Todoizer web application
Build and Validate / build-and-test (push) Failing after 1m23s
Build and Validate / build-and-test (push) Failing after 1m23s
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
FROM ruby:3.2-slim
|
||||
|
||||
RUN apt-get update -qq && \
|
||||
apt-get install -y build-essential sqlite3 libsqlite3-dev curl && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY Gemfile ./
|
||||
RUN bundle install
|
||||
|
||||
COPY . .
|
||||
|
||||
ENV RACK_ENV=production
|
||||
ENV SESSION_SECRET=todoizer_secret_key_change_me_in_prod
|
||||
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
EXPOSE 4567
|
||||
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
Reference in New Issue
Block a user