Skip to content

Commit 2177fa3

Browse files
Merge pull request #115 from costateixeira/fix-windows
fix build on windows
2 parents 387d4f8 + 3883c31 commit 2177fa3

2 files changed

Lines changed: 12 additions & 2 deletions

File tree

.dockerignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
node_modules
2+
npm-debug.log
3+
.git
4+
.gitignore
5+
logs
6+
data
7+
package-cache
8+
*.md
9+
.env
10+
.env.*

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN apk add --no-cache python3 make g++
88

99
# Install app dependencies
1010
COPY package*.json ./
11-
RUN npm install --omit=dev
11+
RUN npm ci --omit=dev
1212

1313
# Stage 2: Runtime image (no build tools)
1414
FROM node:24-alpine
@@ -28,4 +28,4 @@ ENV APP_VERSION=$VERSION
2828

2929
# Expose port and define command
3030
EXPOSE 3000
31-
CMD ["node", "server.js"]
31+
CMD ["node", "server.js"]

0 commit comments

Comments
 (0)