fix(docker): bit of a callback to App Targo 1.0 -- 'clean Dockerfile'
This commit is contained in:
parent
6c6cecbe7d
commit
18aa4c08f4
|
|
@ -7,15 +7,12 @@ WORKDIR /app
|
|||
# Set environment variables
|
||||
ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000"
|
||||
|
||||
# Copy package.json & package-lock.json first (for caching)
|
||||
COPY package*.json ./
|
||||
# Copy the code
|
||||
COPY . .
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy the rest of the code
|
||||
COPY . .
|
||||
|
||||
# Expose Quasar dev port
|
||||
EXPOSE 9000
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user