Skip to content

Commit

Permalink
Fix Docker Problem (alshedivat#1785)
Browse files Browse the repository at this point in the history
  • Loading branch information
pourmand1376 authored and adityarauniyar committed Jan 17, 2024
1 parent f8537e0 commit ac9b7c1
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,25 +1,24 @@
FROM bitnami/minideb:latest
FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive

Label MAINTAINER Amir Pourmand

RUN apt-get update -y && apt-get install -y --no-install-recommends \
locales \
locales \
imagemagick \
ruby-full \
build-essential \
zlib1g-dev \
python3-pip && rm -rf /var/lib/apt/lists/*

jupyter-nbconvert && \
apt-get clean && rm -rf /var/lib/apt/lists/* /var/cache/apt/archives/*

RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && \
locale-gen

ENV LANG=en_US.UTF-8 \
LANGUAGE=en_US:en \
LC_ALL=en_US.UTF-8 \
JEKYLL_ENV=production

RUN python3 -m pip install jupyter --break-system-packages --no-cache-dir
JEKYLL_ENV=production

# install jekyll and dependencies
RUN gem install jekyll bundler
Expand All @@ -30,7 +29,7 @@ ADD Gemfile /srv/jekyll

WORKDIR /srv/jekyll

RUN bundle install --no-cache
RUN bundle install --no-cache
# && rm -rf /var/lib/gems/3.1.0/cache
EXPOSE 8080

Expand Down

0 comments on commit ac9b7c1

Please sign in to comment.