Skip to content

Commit b442d58

Browse files
committed
WIP
1 parent 4e1d301 commit b442d58

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.controlplane/Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ RUN apt-get update -qq && \
5353
# Copy built artifacts: gems, application
5454
COPY --from=build /usr/local/bundle /usr/local/bundle
5555
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 ./
5658

5759
ENV RAILS_ENV=production \
5860
NODE_ENV=production \
@@ -63,8 +65,7 @@ RUN yarn res:build
6365
RUN bin/rails react_on_rails:locale
6466
RUN bin/rails assets:precompile
6567

66-
# add entrypoint and release script to docker image at top level
67-
COPY .controlplane/entrypoint.sh .controlplane/release_script.sh ./
68+
6869
ENTRYPOINT ["./entrypoint.sh"]
6970

7071
CMD ["./bin/rails", "server"]

0 commit comments

Comments
 (0)