mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-09 20:12:26 +10:00
experiments with docker packaging, figuring out deploy plan
This commit is contained in:
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@ -0,0 +1,20 @@
|
||||
FROM mcr.microsoft.com/playwright:focal
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./package*.json .
|
||||
|
||||
RUN npm config set unsafe-perm true
|
||||
|
||||
RUN npm ci
|
||||
|
||||
RUN npm install sharp --ignore-scripts=false
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN npm run build
|
||||
|
||||
EXPOSE 3000
|
||||
EXPOSE 3100
|
||||
|
||||
CMD [ "npm", "start" ]
|
||||
Reference in New Issue
Block a user