Merge pull request 'changed docker' (#22) from fix/ssh_issue into main
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
Reviewed-on: #22
This commit is contained in:
commit
2408da87e3
|
|
@ -4,10 +4,12 @@ WORKDIR /app
|
||||||
|
|
||||||
# Copy package files and install dependencies
|
# Copy package files and install dependencies
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
# ...existing code...
|
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
|
# Fix Windows line endings and permissions for Vite binary
|
||||||
|
RUN apt-get update && apt-get install -y dos2unix
|
||||||
|
RUN dos2unix node_modules/.bin/vite
|
||||||
RUN chmod +x node_modules/.bin/vite
|
RUN chmod +x node_modules/.bin/vite
|
||||||
# ...existing code...
|
|
||||||
|
|
||||||
# Copy the rest of the source code
|
# Copy the rest of the source code
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue