SEKAIStoriesUnoffical / Dockerfile
Undertalefan's picture
Update Dockerfile
eb68624 verified
raw
history blame contribute delete
422 Bytes
FROM node:18
# Install git
RUN apt-get update && apt-get install -y git
# Clone the repository
RUN git clone https://github.com/lezzthanthree/SEKAI-Stories.git /app
WORKDIR /app
# Install dependencies
RUN npm install
# Build the project
RUN npm run build
# Install a simple static file server
RUN npm install -g serve
# Expose the port
EXPOSE 7860
# Serve the static files
CMD ["serve", "-s", "dist", "-l", "7860"]