Skip to content

Commit fc205f4

Browse files
authored
Merge pull request #121 from fredrikj31/docker-ignore-fix
docker ignore fix
2 parents b941743 + b7d5102 commit fc205f4

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.dockerignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.turbo
22
.husky
33
.vscode
4-
node_modules
4+
**/node_modules/
55
database
66
bruno

Dockerfile.backend

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ ENV PATH="$PNPM_HOME:$PATH"
44
RUN npm install -g pnpm@latest-9
55

66
FROM base AS build
7-
87
COPY . /usr/src/app
98
WORKDIR /usr/src/app
109
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --filter=api

Dockerfile.frontend

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ ENV VITE_API_BASE_URL="MY_APP_API_BASE_URL"
55
RUN npm install -g pnpm@latest-9
66

77
FROM base AS build
8-
98
COPY . /usr/src/app
109
WORKDIR /usr/src/app
1110
RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile --filter=app

0 commit comments

Comments
 (0)