Docker
#41
Replies: 1 comment 1 reply
-
Threw this together. Needs abit of tidying but works a treat! dockerfile # base image
FROM tarampampam/node
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install and cache app dependencies
RUN git clone https://github.com/honzaap/Systemizer /app
RUN yarn
EXPOSE 4200
# start app
CMD ng serve --host 0.0.0.0 --port 4200 --disable-host-check |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Would be great if this could be "dockerised"
Might do it myself if i get some spare time
Beta Was this translation helpful? Give feedback.
All reactions