We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0610c81 commit d3d2fd4Copy full SHA for d3d2fd4
1 file changed
Dockerfile
@@ -1,10 +1,18 @@
1
FROM node:18-alpine
2
3
WORKDIR /app
4
+
5
COPY package.json package-lock.json ./
6
7
# Remove problematic dependencies and force a fresh install
8
RUN rm -rf node_modules package-lock.json && \
9
npm cache clean --force && \
10
npm install --force
11
-CMD ["npm", "start"]
12
+COPY . .
13
14
+EXPOSE 5173
15
+ENV PORT=5173
16
+ENV HOST=0.0.0.0
17
18
+CMD ["npm", "start"]
0 commit comments