Files
TestMesa/backend/frontend/Dockerfile
2024-12-17 13:07:06 -08:00

19 lines
244 B
Docker

# Use Node.js LTS
FROM node:18
# Set the working directory
WORKDIR /app
# Install dependencies
COPY package*.json ./
RUN npm install
# Copy the code
COPY . .
# Expose the frontend port
EXPOSE 3000
# Start the app
CMD ["npm", "run", "dev"]