Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions DevDockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ ENV APPDIR=/opt/service

# Set environment variables from build arguments
ARG BUILD_NUMBER=0
ENV BUILD_NUMBER=$APP_VERSION
ARG APP_VERSION="UNKNOWN"
ENV BUILD_NUMBER=$APP_VERSION
ENV APP_VERSION=$APP_VERSION
ARG BUILD_SHA="UNKNOWN"
ENV BUILD_SHA=$BUILD_SHA
Expand Down Expand Up @@ -41,7 +41,7 @@ RUN gem install nokogiri:1.16.0 --no-document && \

# REUSE
RUN pip3 install --break-system-packages setuptools
RUN pip3 install --break-system-packages reuse==3.0.1
RUN pip3 install --break-system-packages reuse==6.2.0

RUN git config --global --add safe.directory '*'

Expand All @@ -53,11 +53,11 @@ RUN mkdir -p "${APPDIR}" && cp -a /tmp/node_modules "${APPDIR}"
WORKDIR "${APPDIR}"
COPY . "${APPDIR}"

ENV NODE_ENV "localhost"
ENV NODE_ENV="localhost"

# Uncomment this if you want to see debug output
#ENV DEBUG=*

ENV PORT 5000
ENV PORT=5000
EXPOSE 5000
ENTRYPOINT ["node", "index.js"]
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN gem install nokogiri:1.16.0 --no-document && \

# REUSE
RUN pip3 install --break-system-packages setuptools
RUN pip3 install --break-system-packages reuse==3.0.1
RUN pip3 install --break-system-packages reuse==6.2.0
Comment thread
JamieMagee marked this conversation as resolved.

# Crawler config
ENV CRAWLER_DEADLETTER_PROVIDER=cd(azblob)
Expand All @@ -58,6 +58,6 @@ RUN mkdir -p "${APPDIR}" && cp -a /tmp/node_modules "${APPDIR}"
WORKDIR "${APPDIR}"
COPY . "${APPDIR}"

ENV PORT 5000
ENV PORT=5000
EXPOSE 5000
ENTRYPOINT ["node", "index.js"]