add dockerfile

This commit is contained in:
Gabor Nemes 2024-05-15 13:38:25 +02:00
parent b7c719e0f8
commit 1a2a9c7c35

12
Dockerfile Normal file
View File

@ -0,0 +1,12 @@
FROM alpine:3.19.1
ENV CONTENTFUL_VERSION="3.3.1"
RUN wget -O contentful.zip https://github.com/contentful/contentful-cli/releases/download/v${CONTENTFUL_VERSION}/contentful-cli-linux-${CONTENTFUL_VERSION}.zip && \
unzip contentful.zip && \
rm contentful.zip && \
chmod +x contentful && \
mv contentful /bin
RUN adduser -D contentful
USER contentful