mirror of
https://github.com/vee1e/GDB-UI.git
synced 2026-09-01 10:48:57 +00:00
19 lines
348 B
Text
19 lines
348 B
Text
FROM node:18-alpine
|
|
|
|
# Set the working directory
|
|
WORKDIR /app
|
|
|
|
# Copy package.json and package-lock.json (if available)
|
|
COPY package*.json ./
|
|
|
|
# Install dependencies
|
|
RUN npm install
|
|
|
|
# Copy the rest of the application code
|
|
COPY . .
|
|
|
|
# Expose the port the frontend runs on
|
|
EXPOSE 5173
|
|
|
|
# Command to run the frontend server
|
|
CMD ["npm", "run", "dev"]
|