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

Merge pull request #1556 from metabase/tweak_dockerfile

do our app build during our docker image build step in order to speed up launch of the app.
parents c46bbda7 5213d151
No related branches found
No related tags found
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