10 lines
226 B
Docker
10 lines
226 B
Docker
|
# syntax=docker/dockerfile:1
|
||
|
FROM ruby:3.2
|
||
|
WORKDIR /app
|
||
|
|
||
|
# 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
|