MAPG-203 add Dockerfile for multiplayer (NodeJS)

This commit is contained in:
Bence Pőcze 2021-03-17 23:11:05 +01:00
parent b9f0529dce
commit 2120fbebbc
Signed by: bence
GPG Key ID: AA52B11A3269D1C1

16
docker/Dockerfile-multi Normal file
View 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