mirror of
https://github.com/ProjectSegfault/website.git
synced 2024-11-18 06:03:00 +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"]
|