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
|
# Set environment variables
|
||||||
ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000"
|
ENV VITE_TARGO_BACKEND_URL="http://targo-backend:3000"
|
||||||
|
|
||||||
# Copy package.json & package-lock.json first (for caching)
|
# Copy the code
|
||||||
COPY package*.json ./
|
COPY . .
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
# Copy the rest of the code
|
|
||||||
COPY . .
|
|
||||||
|
|
||||||
# Expose Quasar dev port
|
# Expose Quasar dev port
|
||||||
EXPOSE 9000
|
EXPOSE 9000
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user