Mark Duppenthaler
Test docker
9a03fcf
# Development Dockerfile for the frontend
FROM node:18-alpine@sha256:a020d42b54c53929a8177d8e7aab30de0f4044fa6e25a3e15ecdad32c9075e18
WORKDIR /app
# Copy package.json and install dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of the application
COPY . .
# Set the API URL for development
ENV VITE_API_URL=http://localhost:5000
# Expose the development server port
EXPOSE 3000
# Command to run the development server with host set to 0.0.0.0 to allow external connections
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0"]