diff --git a/Dockerfile b/Dockerfile index c097ff35..5eb255a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ COPY generate_translations.js \ webpack.config.js \ .babelrc \ . -COPY translations translations +COPY lemmy-translations lemmy-translations COPY src src RUN yarn diff --git a/deploy.sh b/deploy.sh new file mode 100755 index 00000000..9d50a481 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,9 @@ +#!/bin/bash + +new_tag="$1" + +sudo docker build . --tag dessalines/lemmy-isomorphic-ui:$new_tag +sudo docker push dessalines/lemmy-isomorphic-ui:$new_tag + +git tag $new_tag +git push origin $new_tag