23
Dockerfile.localbuild
Normal file
23
Dockerfile.localbuild
Normal file
@@ -0,0 +1,23 @@
|
||||
FROM node:alpine
|
||||
|
||||
LABEL maintainer="Jacob Kiers <code@kiers.eu>"
|
||||
|
||||
ARG USER="User Name"
|
||||
ARG EMAIL="user.name@example.org"
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
VOLUME /app
|
||||
WORKDIR /app
|
||||
|
||||
COPY . /code/tzk
|
||||
|
||||
ENTRYPOINT ["/sbin/tini", "--"]
|
||||
CMD ["tzk", "listen"]
|
||||
|
||||
RUN apk add --no-cache tini py3-pip git
|
||||
RUN git config --global user.name "${USER}" && \
|
||||
git config --global user.email "${EMAIL}"
|
||||
|
||||
RUN pip install --break-system-packages /code/tzk
|
||||
RUN npx tiddlywiki
|
Reference in New Issue
Block a user