Skip to content
Snippets Groups Projects
Commit 5213d151 authored by Allen Gilliland's avatar Allen Gilliland
Browse files

do our app build during our docker image build step in order to speed up launch of the app.

parent c46bbda7
No related merge requests found
......@@ -27,9 +27,13 @@ RUN ln -s /usr/bin/nodejs /usr/bin/node
# add the application source to the image
ADD . /app/source
# build the app
WORKDIR /app/source
RUN bin/build
# expose our default runtime port
EXPOSE 3000
# build and then run it
WORKDIR /app/source
ENTRYPOINT ["bash", "-c", "./bin/build && ./bin/start"]
ENTRYPOINT ["./bin/start"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment