testing the test
Some checks failed
Publish Docker Images / docker (push) Failing after 15s

This commit is contained in:
Lee 2023-11-16 12:24:38 +00:00
parent 19b73af89d
commit 68a10da2a6

@ -1,9 +1,19 @@
FROM fascinated/docker-images:node-pnpm-latest FROM fascinated/docker-images:node-pnpm-latest
# Set the working directory to /app
WORKDIR /app
WORKDIR /usr/src/app # Copy the current directory contents into the container at /app
COPY . . COPY . /app
RUN echo ls -a
ENV PORT=3000 # Install any needed packages specified in package.json
RUN pnpm install
# Make port 3000 available to the world outside this container
EXPOSE 3000 EXPOSE 3000
# Define environment variable
ENV NODE_ENV=production
# Run app.js when the container launches
CMD ["pnpm", "start"] CMD ["pnpm", "start"]