mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-23 00:22:59 +05:30
15 lines
147 B
Docker
15 lines
147 B
Docker
FROM node:19-alpine
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY package.json ./
|
|
|
|
RUN npm i
|
|
|
|
COPY . .
|
|
|
|
RUN npm run build
|
|
|
|
EXPOSE 80
|
|
|
|
CMD [ "npm", "run", "preview" ] |