Files
gander/frontend/Dockerfile
2025-01-23 12:13:50 +00:00

20 lines
401 B
Docker

# Use the latest LTS version of Node.js
FROM node:18-alpine
# Set the working directory inside the container
WORKDIR /frontend
# Copy package.json and package-lock.json
COPY package*.json ./
# Install dependencies
RUN npm install
# Copy the rest of your application files
COPY . .
# Expose the port your app runs on
EXPOSE 5173
# Define the command to run your app
CMD ["npm", "run", "dev"]