diff --git a/backend/dockerfile b/backend/dockerfile index a52545a..16ceef1 100644 --- a/backend/dockerfile +++ b/backend/dockerfile @@ -6,7 +6,7 @@ ENV PYTHONUNBUFFERED 1 WORKDIR /app COPY requirements.txt /app/ -RUN pip install --no-cache-dir -r requirements.txt +RUN pip install -r requirements.txt COPY . /app/ diff --git a/frontend/dockerfile b/frontend/dockerfile index 72f8fd6..ab0000d 100644 --- a/frontend/dockerfile +++ b/frontend/dockerfile @@ -1,11 +1,11 @@ -FROM node:20-alpine as build-stage +FROM node:20-alpine AS build-stage WORKDIR /app COPY package*.json ./ RUN npm install --force COPY . . RUN npm run build -FROM node:20-alpine as production-stage +FROM node:20-alpine AS production-stage WORKDIR /app COPY --from=build-stage /app /app EXPOSE 3000