summaryrefslogtreecommitdiff
path: root/web-server/Dockerfile
blob: e716551b343ee61e1ca6b6ab4e54835272f54df3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM node:latest AS build-env

# Create app directory
WORKDIR /

# Install app dependencies
# A wildcard is used to ensure both package.json AND package-lock.json are copied
# where available (npm@5+)

RUN  git clone git://github.com/TrueDoctor/GameLobby 
WORKDIR /GameLobby
RUN npm install && npm run build

FROM httpd:latest
WORKDIR /usr/local/apache2/
COPY httpd.conf conf/
COPY --from=build-env /GameLobby/WebInterface/dist htdocs/