mirror of
https://github.com/georgemandis/bubo-rss.git
synced 2025-12-10 02:15:28 +00:00
Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| cc32c763db |
26
Dockerfile
Normal file
26
Dockerfile
Normal file
@@ -0,0 +1,26 @@
|
|||||||
|
# Use an official Node.js runtime as a parent image
|
||||||
|
FROM node:14
|
||||||
|
|
||||||
|
# Set the working directory in the container
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Copy package.json and package-lock.json
|
||||||
|
COPY package*.json ./
|
||||||
|
|
||||||
|
# Install any dependencies
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Bundle the source code inside the Docker container
|
||||||
|
COPY . .
|
||||||
|
|
||||||
|
# Build the project
|
||||||
|
RUN npm run build:bubo
|
||||||
|
|
||||||
|
# Install 'serve' to serve the static site
|
||||||
|
RUN npm install -g serve
|
||||||
|
|
||||||
|
# Make port 5000 available to the world outside this container
|
||||||
|
EXPOSE 5000
|
||||||
|
|
||||||
|
# Run 'serve' to serve the static site on port 5000
|
||||||
|
CMD ["serve", "-s", "public", "-l", "5000"]
|
||||||
@@ -119,7 +119,7 @@ If you already have a server running Linux and some command-line experience it m
|
|||||||
|
|
||||||
You can view live demos here:
|
You can view live demos here:
|
||||||
|
|
||||||
- [https://bubo-rss-demo.netlify.app/](https://bubo-rss-demo.netlify.app/)
|
- [https://bubo-rss-demo.netlify.com/](https://bubo-rss-demo.netlify.com/)
|
||||||
- [http://bubo-rss.glitch.me/](http://bubo-rss.glitch.me/)
|
- [http://bubo-rss.glitch.me/](http://bubo-rss.glitch.me/)
|
||||||
|
|
||||||
## Support
|
## Support
|
||||||
|
|||||||
Reference in New Issue
Block a user