okiba (latest)

Published 2022-12-20 18:59:02 +00:00 by shihaam in dockerfiles/okiba

Installation

docker pull git.shihaam.dev/dockerfiles/okiba:latest
sha256:0b0806f8bc4ac9cf4eaec2273906226a328c9ebd542b88cbb19f6c2102275a90

Image Layers

ADD file:1f1efd56601ebc26a041a7b994a380ef68112b91a078e225753bee7b3196d22c in /
CMD ["bash"]
WORKDIR /root/
SHELL [/bin/bash -c]
RUN /bin/bash -c apt update && apt upgrade -y # buildkit
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8
RUN /bin/bash -c apt install git ca-certificates lsb-release apt-transport-https wget curl nano vim locales -y && apt auto-remove -y && apt clean -y # buildkit
RUN /bin/bash -c sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen # buildkit
RUN /bin/bash -c apt install nginx -y --no-install-recommends && curl https://raw.githubusercontent.com/creationix/nvm/master/install.sh | bash && curl -fsSL https://get.pnpm.io/install.sh | bash && source ~/.profile && source ~/.bashrc && nvm install node # buildkit
RUN /bin/bash -c git clone https://git.shihaam.dev/shihaam/okiba-org-frontend && git clone https://git.shihaam.dev/shihaam/okiba-org-backend # buildkit
RUN /bin/bash -c source ~/.profile && source ~/.bashrc && cd /root/okiba-org-backend ; pnpm build && wget -O words.txt https://raw.githubusercontent.com/dwyl/english-words/master/words_alpha.txt # buildkit
COPY buildfiles/frontend-env /root/okiba-org-frontend/.env.local # buildkit
RUN /bin/bash -c source ~/.profile && source ~/.bashrc && cd /root/okiba-org-frontend ; pnpm install ; pnpm build ; cd - && mv /root/okiba-org-frontend/dist/* /var/www/html/ && rm -rfv /root/okiba-org-frontend/ /var/www/html/index.nginx-debian.html # buildkit
COPY buildfiles/start_services.sh . # buildkit
RUN /bin/bash -c chmod +x start_services.sh # buildkit
CMD ["./start_services.sh"]

Labels

Key Value
com.docker.compose.project okiba
com.docker.compose.service okiba
com.docker.compose.version 2.12.2
Details
Container
2022-12-20 18:59:02 +00:00
4
OCI / Docker
linux/amd64
282 MiB
Versions (1) View all
latest 2022-12-20