krata/Dockerfile

13 lines
312 B
Docker
Raw Normal View History

2024-04-10 10:49:16 +02:00
# syntax=docker/dockerfile:1
FROM ruby:3.2
WORKDIR /app
COPY Gemfile /app/Gemfile
# Add a script to be executed every time the container starts.
COPY entrypoint.sh /usr/bin/
RUN chmod +x /usr/bin/entrypoint.sh
ENTRYPOINT ["entrypoint.sh"]
EXPOSE 4000
# Configure the main process to run when running the image