Skip to content

Commit

Permalink
fix merge from master
Browse files Browse the repository at this point in the history
  • Loading branch information
jsnoble committed Jan 22, 2024
1 parent 5ed18d4 commit e91ae29
Showing 1 changed file with 1 addition and 20 deletions.
21 changes: 1 addition & 20 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ COPY service.js /app/source/
RUN node -e "require('node-rdkafka')"

# verify teraslice is installed right
RUN node -e "require('teraslice')"
RUN node -e "import('teraslice')"

EXPOSE 5678

Expand All @@ -40,22 +40,3 @@ VOLUME /app/config /app/logs /app/assets
ENV TERAFOUNDATION_CONFIG /app/config/teraslice.yaml

CMD ["node", "service.js"]

RUN apt-get update && \
apt-get install -y libcurl4 tini && \
apt-get autoremove -y && \
apt-get clean -y && \
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

# this can most likely be removed. Looks to be related to node10->12 transition.
COPY scripts/docker-pkg-fix.js /usr/local/bin/docker-pkg-fix
COPY scripts/wait-for-it.sh /usr/local/bin/wait-for-it
COPY --from=base /app /app

WORKDIR /app/source

# verify node-rdkafka is installed right
RUN node -e "require('node-rdkafka')"

# verify teraslice is installed right
RUN node -e "import('teraslice')"

0 comments on commit e91ae29

Please sign in to comment.