smashing-container/Containerfile

18 lines
347 B
Plaintext
Raw Normal View History

2024-03-06 19:22:40 +00:00
FROM docker.io/library/ruby:3.3
ARG SMASHING_VERSION
RUN gem install smashing -v ${SMASHING_VERSION}
RUN apt update --yes
RUN apt install nodejs --yes
RUN apt clean all
RUN mkdir --parents /smashing
ENV SMASHING_PROJECT_DIR=/smashing
ADD container-entrypoint.sh /container-entrypoint.sh
ENTRYPOINT ["/container-entrypoint.sh"]
CMD ["start"]