summary refs log tree commit diff
path: root/Dockerfile
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 18:24:21 +1000
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-09-25 23:35:18 +1000
commitf44f5d7ac2d24ff836c2e1d4b2fa58da04b13052 (patch)
treea6655c41bb3db79c30fd876b06ee60fe9cf70c9b /Dockerfile
parentAllow edited_timestamp to passthrough in handleMessage (diff)
downloadserver-f44f5d7ac2d24ff836c2e1d4b2fa58da04b13052.tar.xz
Refactor to mono-repo + upgrade packages
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 0 insertions, 22 deletions
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644

index 64130e51..00000000 --- a/Dockerfile +++ /dev/null
@@ -1,22 +0,0 @@ -FROM node:alpine - -# env vars -ENV HTTP_PORT=3001 -ENV WS_PORT=3002 -ENV CDN_PORT=3003 -ENV RTC_PORT=3004 -ENV ADMIN_PORT=3005 - -# exposed ports (only for reference, see https://docs.docker.com/engine/reference/builder/#expose) -EXPOSE ${HTTP_PORT}/tcp ${WS_PORT}/tcp ${CDN_PORT}/tcp ${RTC_PORT}/tcp ${ADMIN_PORT}/tcp - -# install required apps -RUN apk add --no-cache --update git python3 py-pip make build-base -RUN ln -s /usr/bin/python3 /usr/bin/python - -# Run as non-root user -# RUN adduser -D fosscord -# USER fosscord - -WORKDIR /srv/fosscord-server/bundle -ENTRYPOINT ["npm", "run", "start:bundle"] \ No newline at end of file