Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 10 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ ARG VERSION=lts

FROM node:$VERSION-alpine

LABEL maintainer="Renoki Co. <alex@renoki.org>"

ENV PYTHONUNBUFFERED=1

COPY . /tmp/build

RUN rm -rf /tmp/build/.git

WORKDIR /tmp/build

RUN apk update

RUN npm install -g npm@8.6.0

RUN apk add --no-cache --update git python3 gcompat && \
apk add --virtual build-dependencies build-base gcc wget && \
ln -sf python3 /usr/bin/python && \
Expand All @@ -24,6 +28,8 @@ RUN apk add --no-cache --update git python3 gcompat && \

WORKDIR /app

EXPOSE 6001
EXPOSE 6001 9601

ENTRYPOINT ["node", "/app/bin/server.js"]

ENTRYPOINT ["node", "/app/bin/server.js", "start"]
CMD ["start", "--config=/app/config/apps.conf"]