Skip to content

Commit c168942

Browse files
authored
Switch to vercel's serve library instead of http-server for deployment (#67)
1 parent 6b063f7 commit c168942

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.docker/app_dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ FROM node:15.14.0-stretch
22
SHELL ["/bin/bash", "--login", "-c"]
33

44
WORKDIR /app
5-
RUN npm install -g http-server
5+
RUN npm install -g serve
66

77
# copy repo contents and install deps
88
#
@@ -13,4 +13,4 @@ RUN yarn install
1313
COPY webapp /app
1414

1515
RUN yarn build
16-
CMD [ "http-server", "dist", "--port", "8081" ]
16+
CMD [ "serve", "-s", "dist", "-p", "8081" ]

0 commit comments

Comments
 (0)