targo-frontend/Dockerfile

21 lines
334 B
Docker

# targo-frontend
FROM node:22
# Set working directory inside container
WORKDIR /app
# Set environment variables
ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000"
# Copy the code
COPY . .
# Install dependencies
RUN npm install
# Expose Quasar dev port
EXPOSE 9000
# Default command
CMD ["quasar", "dev"]