mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-28 18:45:46 -05:00
10 lines
198 B
Text
10 lines
198 B
Text
|
FROM node:14-alpine
|
||
|
# Without git installing the npm packages fails
|
||
|
RUN apk add git
|
||
|
RUN mkdir /app
|
||
|
WORKDIR /app
|
||
|
COPY . /app
|
||
|
RUN npm install
|
||
|
RUN npm run build
|
||
|
ENTRYPOINT ["npm", "run", "prod-start"]
|