CI: try
This commit is contained in:
@@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
dist/
|
||||
npm-debug.log
|
||||
|
@@ -1,5 +1,5 @@
|
||||
FROM node:18-alpine
|
||||
EXPOSE $PORT_EXPOSED
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json package-lock.json /app/
|
||||
@@ -9,4 +9,5 @@ RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
CMD node dist/server/entry.mjs
|
||||
EXPOSE ${PORT_EXPOSED}
|
||||
CMD ["node", "dist/server/entry.mjs"]
|
||||
|
@@ -8,7 +8,8 @@
|
||||
"start": "astro dev",
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"astro": "astro"
|
||||
"astro": "astro",
|
||||
"docker": "docker build . -t pegazio && docker run --network host -p 3000:3000 -d pegazio"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^3.0.0",
|
||||
|
Reference in New Issue
Block a user