mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-12-24 14:09:51 +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" ] |