initial commit
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM node:25.8.2-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
|
||||
# Clean install with explicit cache clean
|
||||
RUN npm cache clean --force && \
|
||||
rm -rf node_modules && \
|
||||
npm install
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 5173
|
||||
|
||||
# Run dev server
|
||||
CMD ["npm", "run", "dev", "--host"]
|
||||
Reference in New Issue
Block a user