22ee2ca08d
- 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
18 lines
No EOL
360 B
Docker
18 lines
No EOL
360 B
Docker
# 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
|
|
RUN [ "yarn", "build" ]
|
|
|
|
# Expose the two relevant ports
|
|
EXPOSE 3000 8080
|
|
|
|
# Serve the app
|
|
CMD [ "yarn", "serve:production" ] |