You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
333 B
Docker
18 lines
333 B
Docker
2 years ago
|
FROM node:18-alpine
|
||
|
|
||
|
WORKDIR /src
|
||
|
|
||
|
COPY package*.json ./
|
||
|
|
||
|
COPY . .
|
||
|
|
||
|
RUN apk add bash
|
||
|
RUN npm ci --platform=linuxmusl --arch=x64 --ignore-scripts=false --foreground-scripts --verbose
|
||
|
# RUN npm run build
|
||
|
|
||
|
ENV NITRO_HOST=0.0.0.0
|
||
|
ENV NITRO_PORT=4000
|
||
|
|
||
|
EXPOSE 4000
|
||
|
|
||
|
# ENTRYPOINT ["npm", "run", "build", "node", ".output/server/index.mjs"]
|