everything that happens here is nice and not crimes

Commit 2215bea3 authored by Alexandra Catalina's avatar Alexandra Catalina 🎱 Committed by Alexandra Catalina
parent 60141483
Pipeline #352 failed with stages
in 5 minutes and 47 seconds
FROM node:14-alpine
RUN mkdir -p /opt/thing
WORKDIR /opt/thing
RUN addgroup --gid 10001 --system reader && \
adduser --uid 10000 --system \
--ingroup reader --home /home/reader reader
RUN apk add --no-cache tini
RUN mkdir -p /home/reader/thing
WORKDIR /home/reader/thing
COPY . .
RUN npm i
CMD ["node", "main.js"]
USER reader
ENTRYPOINT ["/sbin/tini", "--", "node", "main.js"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment