Skip to content

Commit 5254c51

Browse files
committed
Add .dockerignore and update Dockerfile for improved build process
1 parent 155ae46 commit 5254c51

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
node_modules
2+
.pnpm-store
3+
dist
4+
.vite
5+
.git
6+
.gitignore
7+
Dockerfile
8+
Dockerfile.prod
9+
*.log
10+
.env
11+
.env.*

apps/jobboard-frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM node:20-bookworm AS build
22
WORKDIR /app
33
COPY package.json pnpm-lock.yaml ./
4-
RUN npm install -g pnpm && pnpm install --prod --ignore-scripts
4+
RUN npm install -g pnpm && pnpm install --ignore-scripts
55
COPY . .
66
ARG VITE_API_URL
77
ENV VITE_API_URL=$VITE_API_URL

0 commit comments

Comments
 (0)