Skip to content

Commit

Permalink
chore: rename folder name for better readability
Browse files Browse the repository at this point in the history
  • Loading branch information
youngjun827 committed Nov 18, 2023
1 parent 61b502a commit c67b5b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions operations/docker/dockerfile.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ARG BUILD_REF
COPY . /thoughts

# Build the admin binary.
WORKDIR /thoughts/app/tooling/thoughts-admin
WORKDIR /thoughts/app/tooling/thoughts-init
RUN go build -ldflags "-X main.build=${BUILD_REF}"

# Build the service binary.
Expand All @@ -21,7 +21,7 @@ ARG BUILD_DATE
ARG BUILD_REF
RUN addgroup -g 1000 -S thoughts && \
adduser -u 1000 -h /thoughts -G thoughts -S thoughts
COPY --from=build_thoughts-api --chown=thoughts:thoughts /thoughts/app/tooling/thoughts-admin/thoughts-admin /thoughts/thoughts-admin
COPY --from=build_thoughts-api --chown=thoughts:thoughts /thoughts/app/tooling/thoughts-init/thoughts-init /thoughts/thoughts-init
COPY --from=build_thoughts-api --chown=thoughts:thoughts /thoughts/app/services/thoughts-api/thoughts-api /thoughts/thoughts-api
WORKDIR /thoughts
USER thoughts
Expand Down
2 changes: 1 addition & 1 deletion operations/k8s/base/thoughts/base-thoughts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ spec:
initContainers:
- name: init-migrate
image: thoughts-image
command: ['./thoughts-admin']
command: ['./thoughts-init']
env:
- name: THOUGHTS_DB_USER
valueFrom:
Expand Down

0 comments on commit c67b5b1

Please sign in to comment.