MAPG-203 add Dockerfile for multiplayer (NodeJS)
This commit is contained in:
parent
b9f0529dce
commit
2120fbebbc
16
docker/Dockerfile-multi
Normal file
16
docker/Dockerfile-multi
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
FROM ubuntu:focal
|
||||||
|
|
||||||
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
|
|
||||||
|
# Install necessary packages
|
||||||
|
RUN apt update --fix-missing
|
||||||
|
RUN apt install -y curl build-essential
|
||||||
|
|
||||||
|
# Install Node.js and required packages
|
||||||
|
RUN curl -sL https://deb.nodesource.com/setup_14.x | bash -
|
||||||
|
RUN apt install -y nodejs
|
||||||
|
|
||||||
|
VOLUME /var/www/mapguesser
|
||||||
|
WORKDIR /var/www/mapguesser
|
||||||
|
|
||||||
|
ENTRYPOINT /usr/bin/node --inspect=0.0.0.0:9229 multi
|
Loading…
Reference in New Issue
Block a user