Skip to content

Commit 48551f7

Browse files
committed
change dockerfile production to development
1 parent 9bda370 commit 48551f7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

client/Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,6 @@ RUN npm install
88

99
COPY . .
1010

11-
RUN npm run build
11+
EXPOSE 5173
1212

13-
FROM nginx:alpine
14-
15-
COPY --from=build /usr/src/app/dist /usr/share/nginx/html
16-
17-
EXPOSE 80
18-
19-
CMD ["nginx", "-g", "daemon off;"]
13+
CMD ["npm", "run", "dev"]

0 commit comments

Comments
 (0)