Skip to content

Commit 5263c64

Browse files
committed
Updated Dockerfile
1 parent daa8c41 commit 5263c64

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Development Docker file
2-
FROM node:18-alpine
2+
FROM node:18-alpine AS builder
33

44
WORKDIR /async
55

@@ -12,7 +12,7 @@ COPY . .
1212

1313

1414
# Run linting during build to catch errors early
15-
RUN npm run lint || exit 1
15+
RUN npm run lint
1616

1717
# Use a separate production stage to keep the image lightweight
1818
FROM node:18-alpine AS development

0 commit comments

Comments
 (0)