mirror of
https://github.com/ProjectSegfault/website
synced 2026-03-29 18:11:49 +05:30
9 lines
189 B
Docker
9 lines
189 B
Docker
# Filename: Dockerfile
|
|
FROM node:18-alpine
|
|
WORKDIR /home/midou/git_rep/website/docker
|
|
COPY . .
|
|
RUN npm install
|
|
RUN npm run build
|
|
EXPOSE 3000
|
|
CMD ["npm", "run", "preview", "--", "--host"]
|