We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e2e6cab commit 0fb4014Copy full SHA for 0fb4014
Dockerfile
@@ -1,5 +1,5 @@
1
# Use an official Node.js runtime as a parent image
2
-FROM node:20-alpine
+FROM node:slim
3
4
# Set the working directory
5
WORKDIR /app
@@ -11,11 +11,8 @@ COPY . .
11
RUN npm i
12
RUN npm i -g http-server
13
14
-RUN npm run plugins:build
15
-
16
-RUN echo -e "npx nx reset\nnpm run client:build\nhttp-server -p 80 packages/client/dist" > ./start.sh
17
-RUN chmod +x ./start.sh
+RUN npm run all:build
18
19
EXPOSE 80
20
21
-CMD ["sh", "./start.sh"]
+ENTRYPOINT ["http-server", "-p", "80", "packages/client/dist"]
0 commit comments