Skip to content

Commit

Permalink
Add Containerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
inknos committed Feb 21, 2024
1 parent 6cb8f82 commit a401c3a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Containerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
FROM ruby:3.2.3-bookworm

COPY . /app
WORKDIR /app

RUN apt update -qq && apt install -y npm

RUN npm install
RUN npm install -g gulp gulp-cli
RUN gulp

RUN bundle install

RUN bundle -v
RUN ruby -v
RUN npm -v

EXPOSE 4000

CMD ["bundle", "exec", "jekyll", "serve", "--host", "0.0.0.0"]

0 comments on commit a401c3a

Please sign in to comment.