File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -53,6 +53,8 @@ RUN apt-get update -qq && \
53
53
# Copy built artifacts: gems, application
54
54
COPY --from=build /usr/local/bundle /usr/local/bundle
55
55
COPY --from=build /app /app
56
+ # add entrypoint and release script to docker image at top level
57
+ COPY --from=build .controlplane/entrypoint.sh .controlplane/release_script.sh ./
56
58
57
59
ENV RAILS_ENV=production \
58
60
NODE_ENV=production \
@@ -63,8 +65,7 @@ RUN yarn res:build
63
65
RUN bin/rails react_on_rails:locale
64
66
RUN bin/rails assets:precompile
65
67
66
- # add entrypoint and release script to docker image at top level
67
- COPY .controlplane/entrypoint.sh .controlplane/release_script.sh ./
68
+
68
69
ENTRYPOINT ["./entrypoint.sh" ]
69
70
70
71
CMD ["./bin/rails" , "server" ]
You can’t perform that action at this time.
0 commit comments