Added few dependencies to Dockerfile

This commit is contained in:
Frédérick Pruneau 2025-11-14 15:14:11 -05:00
parent 39359b511d
commit 5d3e6d9498

View File

@ -4,6 +4,9 @@ FROM node:22
# Set working directory inside container # Set working directory inside container
WORKDIR /app WORKDIR /app
# Adding Quasar
RUN yarn global add @quasar/cli
# Set environment variables # Set environment variables
ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000" ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000"
@ -13,6 +16,11 @@ COPY . .
# Install dependencies # Install dependencies
RUN npm install RUN npm install
# Linting and formating
RUN yarn
RUN yarn lint
RUN yarn format
# Expose Quasar dev port # Expose Quasar dev port
EXPOSE 9000 EXPOSE 9000