pelican-build-action/Dockerfile

26 lines
754 B
Text
Raw Permalink Normal View History

2021-06-26 20:18:41 +00:00
FROM python:3.7-slim
2021-06-26 19:30:30 +00:00
LABEL "com.github.actions.name"="Deploy Pelican Site to Firebase"
LABEL "com.github.actions.description"="Deploy Pelican Site to Firebase"
2021-06-26 20:18:41 +00:00
LABEL "com.github.actions.icon"="home"
LABEL "com.github.actions.color"="red"
2021-06-26 19:30:30 +00:00
LABEL "repository"="https://github.com/justgoodin/pelican-to-firebase"
LABEL "homepage"="https://github.com/justgoodin/pelican-to-firebase"
ENV LC_ALL C.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US.UTF-8
RUN apt-get update \
&& apt-get install --no-install-recommends -qy git curl bash
RUN curl -sL https://deb.nodesource.com/setup_12.x | bash -
RUN apt-get install -y nodejs
COPY entrypoint.sh /entrypoint.sh
2021-06-26 20:22:58 +00:00
RUN ["chmod", "+x", "/entrypoint.sh"]
2021-06-26 19:30:30 +00:00
ENTRYPOINT ["/entrypoint.sh"]