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