File tree 3 files changed +16
-2
lines changed
3 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,8 @@ RUN apk update && \
9
9
apk add --no-cache $RUBY_PACKAGES && \
10
10
apk del .build-dependencies
11
11
12
+ COPY docker/default.conf /etc/nginx/conf.d
13
+
12
14
ADD dist /usr/share/nginx/html
13
15
14
16
WORKDIR /tmp
Original file line number Diff line number Diff line change
1
+ server {
2
+ listen 80;
3
+
4
+ root /usr/share/nginx/html;
5
+
6
+ location ~ \.(js|css)$ {
7
+ }
8
+
9
+ location / {
10
+ rewrite (.*) /index.html break;
11
+ }
12
+ }
Original file line number Diff line number Diff line change @@ -16,5 +16,5 @@ docker build -t ${DOCKER_NAME} .
16
16
docker tag ${DOCKER_NAME} :latest ${AWS_ACCOUNT_NUMBER} .dkr.ecr.${AWS_DEFAULT_REGION} .amazonaws.com/${DOCKER_NAME} :latest
17
17
docker push ${AWS_ACCOUNT_NUMBER} .dkr.ecr.${AWS_DEFAULT_REGION} .amazonaws.com/${DOCKER_NAME} :latest
18
18
19
- # aws sns publish --topic-arn "arn:aws:sns:${AWS_DEFAULT_REGION}:${AWS_ACCOUNT_NUMBER}:backend_app_updated " \
20
- # --message "${ENV}: ${TRAVIS_COMMIT}"
19
+ aws sns publish --topic-arn " arn:aws:sns:${AWS_DEFAULT_REGION} :${AWS_ACCOUNT_NUMBER} :frontend_app_updated " \
20
+ --message " ${ENV} : ${TRAVIS_COMMIT} "
You can’t perform that action at this time.
0 commit comments