mirror of
https://github.com/PrismarineJS/prismarine-web-client.git
synced 2024-11-25 00:57:53 -05:00
4d4b32e8de
* Made config.json dynamic
* added docker support
* Fixed dockerfile npm install error
* fixed line ends
* Revert "Made config.json dynamic"
This reverts commit 5cb413b9aa
.
* config.json is now loaded dynamically
* Made dynamic config work on github page
* config is now dynamically copied
* removed sync-request dependency
Co-authored-by: d513 <ogoniasty513@gmail.com>
9 lines
198 B
Docker
9 lines
198 B
Docker
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"]
|