Skip to content

Commit

Permalink
Merge branch '#557' into qa
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonDarumatic committed Jun 26, 2019
2 parents 75c6467 + 8aa2e01 commit c813dc9
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
4 changes: 3 additions & 1 deletion aws/ecs_cluster.json
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,9 @@
{
"Ref":"ECSCluster"
},
" >> /etc/ecs/ecs.config\n"
" >> /etc/ecs/ecs.config\n",
"chown -R 1001:1001 /var/log/roster\n",
"chown -R 1001:1001 /var/log/backup\n"
]
]
}
Expand Down
5 changes: 2 additions & 3 deletions docker/Dockerfile-prod
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@ WORKDIR /opt/efcsydney-roster/client
RUN yarn ; yarn build ; rm -rf ./node_modules

WORKDIR /opt/efcsydney-roster
RUN addgroup -S efcuser && adduser -S efcuser -G efcuser
RUN chown efcuser:efcuser -R /opt/efcsydney-roster

RUN addgroup -g 1001 -S efcuser && adduser -u 1001 -S -G efcuser efcuser
RUN chown -R efcuser:efcuser /opt/efcsydney-roster/* && ls -al /opt/efcsydney-roster/*
USER efcuser
RUN pip install awscli --upgrade --user && \
echo "export PATH=$PATH:~/.local/bin/" >> ~/.bashrc
Expand Down

0 comments on commit c813dc9

Please sign in to comment.