blob: 04b9ff8bd6786b7833ed4b3eeface04c4815638c (
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/dist htdocs/
|