mirror of
https://github.com/ProjectSegfault/website.git
synced 2025-05-31 14:12:04 +05:30
Docker folder for building added
This commit is contained in:
8
docker/Dockerfile
Normal file
8
docker/Dockerfile
Normal file
@@ -0,0 +1,8 @@
|
||||
# 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"]
|
||||
Reference in New Issue
Block a user