A lot of improvements
- Removed "refresh" buttons, please just refresh the entire site (less cluttered appearance) - Refined README on installation - Added more themes - Improved Dockerfile, now everything runs with production settings
This commit is contained in:
parent
19bbc337bf
commit
22ee2ca08d
12 changed files with 242 additions and 91 deletions
16
Dockerfile
16
Dockerfile
|
@ -1,6 +1,18 @@
|
|||
# Get current image of node.js
|
||||
FROM node:current-slim
|
||||
|
||||
# Set /app as directory where the app should be at
|
||||
WORKDIR /app
|
||||
|
||||
# Copy all of the relevant files over to the container
|
||||
COPY . .
|
||||
|
||||
# Download dependencies, build container
|
||||
RUN yarn
|
||||
EXPOSE 3000
|
||||
CMD [ "yarn", "start" ]
|
||||
RUN [ "yarn", "build" ]
|
||||
|
||||
# Expose the two relevant ports
|
||||
EXPOSE 3000 8080
|
||||
|
||||
# Serve the app
|
||||
CMD [ "yarn", "serve:production" ]
|
Loading…
Add table
Add a link
Reference in a new issue