Files
todoizer/Dockerfile
T
krisf 1f637c6bde
Build and Validate / build-and-test (push) Failing after 1m23s
Initial commit of Todoizer web application
2026-04-20 08:56:12 -04:00

22 lines
367 B
Docker

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"]