Update docker image

master
Kuba Orlik 2 years ago
parent 34036c5286
commit 9e3667398e

@ -1,17 +1,18 @@
FROM node:15-alpine FROM node:18-bullseye-slim
LABEL maintainer="Jakub Pieńkowski <jakski@sealcode.org>"
ENV UID=node \ ENV UID=node \
GID=node \ GID=node \
HOME=/opt/sealious-playground HOME=/opt/fakturia
RUN sed -i 's/http\:\/\/dl-cdn.alpinelinux.org/https\:\/\/mirrors.dotsrc.org/g' /etc/apk/repositories
# Tini will ensure that any orphaned processes get reaped properly. # Tini will ensure that any orphaned processes get reaped properly.
RUN apk add --no-cache tini ENV TINI_VERSION v0.19.0
RUN apk --update add git ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
RUN apk --update add python
RUN apk --update add make RUN apt update
RUN apk --update add g++ RUN apt install -y git
RUN chmod +x /tini
ENTRYPOINT ["/tini", "--"]
VOLUME $HOME VOLUME $HOME
WORKDIR $HOME WORKDIR $HOME
@ -20,5 +21,4 @@ USER $UID:$GID
EXPOSE 8080 EXPOSE 8080
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/node", "."] CMD ["/usr/local/bin/node", "."]

Loading…
Cancel
Save