diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..26461e9 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,8 @@ +FROM node:latest + +RUN yarn install +WORKDIR /app/website +COPY . /app/website +RUN yarn build +EXPOSE 3000 +ENTRYPOINT yarn serve diff --git a/startWebsite.sh b/startWebsite.sh new file mode 100755 index 0000000..15a6e50 --- /dev/null +++ b/startWebsite.sh @@ -0,0 +1,3 @@ +#!/bin/bash +docker build . -t startyourlab/website || exit +docker run -p 3000:3000 startyourlab/website:latest