try tagging images with :latest

This commit is contained in:
Robert Dyer
2024-12-10 16:04:21 -06:00
parent f74b544fd2
commit 4b7258e1e1
2 changed files with 9 additions and 5 deletions
+6 -5
View File
@@ -10,15 +10,16 @@ WORKDIR /usr/src/app
# Create the cache directory
RUN mkdir -p ./cache && chown node:node ./cache
# Copy the current directory contents into the container at /usr/src/app
COPY --chown=node:node . .
# Install any needed packages specified in package.json
RUN npm install && npm update
# Define environment variable
ENV NODE_ENV=production
# Allow self-signed SSL certs
ENV NODE_TLS_REJECT_UNAUTHORIZED=0
# Copy the current directory contents into the container at /usr/src/app
COPY --chown=node:node . .
# Install any needed packages specified in package.json
RUN npm install && npm update
# Run the app when the container launches
ENTRYPOINT ["tail", "-f", "/dev/null"]