-
Notifications
You must be signed in to change notification settings - Fork 9
/
Dockerfile
31 lines (29 loc) · 837 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 👑 Ɗaɳƙ Ɗoɱaiɳ: the return of Hack & Slash [ https://www.DDgame.us ]
# Dockerfile authored by: Robert Hurst <theflyingape@gmail.com>
#
# docker build -t dankdomain .
FROM node:lts-bullseye
LABEL maintainer="theflyingape@gmail.com"
# set the working directory
ENV TARGET=/usr/games
WORKDIR ${TARGET}
RUN git clone https://github.com/theflyingape/dankdomain
WORKDIR ${TARGET}/dankdomain
# complement portal with any of my local files
COPY game/portal game/portal
# cli tools
RUN apt-get update && apt-get install -y rsync sudo telnet
#
# suppress superfluous NPM install messages
ENV npm_config_loglevel warn
ENV NODE_ENV development
#ENV NODE_PTY_DEBUG 1
# install dependencies
RUN npm install
# app runtime
EXPOSE 1939
EXPOSE 1986
STOPSIGNAL SIGINT
ENV LANG=C.UTF-8
ENV TERM=xterm-256color
CMD ["node", "game/portal/app"]