Update: use port 80 with serve package
This commit is contained in:
@@ -10,5 +10,5 @@ WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm ci --production
|
||||
COPY --from=builder /app/dist ./dist
|
||||
EXPOSE 4321
|
||||
CMD ["npx", "astro", "preview", "--host", "0.0.0.0", "--port", "4321"]
|
||||
EXPOSE 80
|
||||
CMD ["npx", "serve", "dist", "-l", "80"]
|
||||
|
||||
850
package-lock.json
generated
850
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@@ -11,6 +11,7 @@
|
||||
"dependencies": {
|
||||
"@tailwindcss/vite": "^4.2.1",
|
||||
"astro": "^5.17.1",
|
||||
"serve": "^14.2.5",
|
||||
"tailwindcss": "^4.2.1"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user