mirror of
https://github.com/ArthurDanjou/artdanj-resume.git
synced 2026-01-14 18:59:56 +01:00
Add dockerfile
This commit is contained in:
15
Dockerfile
Normal file
15
Dockerfile
Normal file
@@ -0,0 +1,15 @@
|
||||
FROM node:16-alpine3.11
|
||||
|
||||
RUN mkdir -p /usr/src/resume
|
||||
|
||||
WORKDIR /usr/src/resume
|
||||
|
||||
COPY . /usr/src/resume
|
||||
|
||||
RUN yarn install
|
||||
|
||||
RUN yarn build
|
||||
|
||||
EXPOSE 3344
|
||||
|
||||
CMD ["yarn", "preview", "--port", "3344"]
|
||||
Reference in New Issue
Block a user