update
This commit is contained in:
parent
f497bc20ef
commit
07d40a6f3d
5 changed files with 15 additions and 8 deletions
|
@ -1 +1,2 @@
|
|||
.DS_Store
|
||||
.DS_Store
|
||||
dist
|
12
Dockerfile
12
Dockerfile
|
@ -1,9 +1,11 @@
|
|||
FROM node:lts AS build
|
||||
FROM node:lts AS runtime
|
||||
WORKDIR /app
|
||||
|
||||
COPY . .
|
||||
RUN npm i
|
||||
|
||||
RUN npm run build
|
||||
|
||||
FROM httpd:2.4 AS runtime
|
||||
COPY --from=build /app/dist /usr/local/apache2/htdocs/
|
||||
EXPOSE 80
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=4321
|
||||
EXPOSE 4321
|
||||
CMD node ./dist/server/entry.mjs
|
|
@ -4,6 +4,7 @@ import robotsTxt from 'astro-robots-txt';
|
|||
import mdx from '@astrojs/mdx';
|
||||
import vue from "@astrojs/vue";
|
||||
import betterImageService from "astro-better-image-service";
|
||||
import node from '@astrojs/node';
|
||||
|
||||
export default defineConfig({
|
||||
site: 'https://sudovanilla.org',
|
||||
|
@ -75,8 +76,10 @@ export default defineConfig({
|
|||
}]
|
||||
}), vue()],
|
||||
output: 'server',
|
||||
server: {
|
||||
port: 2014,
|
||||
adapter: node({
|
||||
mode: 'standalone',
|
||||
}), server: {
|
||||
port: 5522,
|
||||
host: true
|
||||
},
|
||||
devToolbar: {
|
||||
|
|
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -14,6 +14,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.11.5",
|
||||
"@astrojs/mdx": "^3.1.9",
|
||||
"@astrojs/node": "^8.3.4",
|
||||
"@astrojs/partytown": "^2.1.2",
|
||||
"@astrojs/vue": "^4.5.2",
|
||||
"@iconoir/vue": "^7.10.0",
|
||||
|
|
Loading…
Reference in a new issue