You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
198 B
15 lines
198 B
1 year ago
|
FROM node:18.16-alpine
|
||
|
WORKDIR /app
|
||
|
RUN apk update && apk upgrade
|
||
|
RUN apk add git
|
||
|
COPY . .
|
||
|
RUN npm install
|
||
|
RUN npm run build
|
||
|
|
||
|
EXPOSE 80
|
||
|
|
||
|
ENV NUXT_HOST=0.0.0.0
|
||
|
ENV NUXT_PORT=80
|
||
|
|
||
|
CMD ["npm", "start"]
|