dashboard/Dockerfile
Bastian Meissner 22ee2ca08d 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
2020-05-24 15:06:47 +02:00

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" ]