GDB-UI/webapp/DockerFile.dev
2024-06-22 14:49:21 +05:30

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"]