Page MenuHomeSealhub

app.dockerfile
No OneTemporary

app.dockerfile

FROM node:10-alpine
LABEL maintainer="Jakub Pieńkowski <jakski@sealcode.org>"
ENV UID=node \
GID=node \
HOME=/opt/<<project_name>>
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.
RUN apk add --no-cache tini
RUN apk --update add imagemagick
RUN apk --update add git
RUN apk --update add util-linux
VOLUME $HOME
WORKDIR $HOME
USER $UID:$GID
EXPOSE <<app_port>>
ENTRYPOINT ["/sbin/tini", "--"]
CMD ["/usr/local/bin/node", "."]

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 24, 01:29 (22 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
557010
Default Alt Text
app.dockerfile (564 B)

Event Timeline