Add GitHub Actions workflows for building and deploying application

This commit is contained in:
2025-10-01 14:11:56 +08:00
parent 24154f42d4
commit 79411d2eb3
4 changed files with 264 additions and 0 deletions

18
Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM node:18-alpine
WORKDIR /app
# Copy package files
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy source code
COPY . .
# Expose the port that Vite dev server runs on
EXPOSE 5173
# Run the development server
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]