Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created August 24, 2017 18:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/cea30a9028f81019d7ba71afe5b09e95 to your computer and use it in GitHub Desktop.
Save peterbe/cea30a9028f81019d7ba71afe5b09e95 to your computer and use it in GitHub Desktop.
FROM node:6.11.1
RUN curl -o- -L https://yarnpkg.com/install.sh | bash
ADD frontend /tmp
RUN ls -l /tmp
RUN pwd
WORKDIR /tmp
# Carry this build argument from the
# `docker build --build-arg SENTRY_PUBLIC_DSN=...` command.
ARG SENTRY_PUBLIC_DSN
RUN yarn && yarn run build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment