Skip to content

Commit

Permalink
Fix infinite loop for armv7 build
Browse files Browse the repository at this point in the history
  • Loading branch information
Carlgo11 committed May 19, 2024
1 parent d1d565a commit d3d7308
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# Use Alpine Linux as base image
FROM node:alpine
FROM node:slim

# Set default env variable values
ENV PORT=3000
ENV IMG_PATH="img/background"
ENV ORIGIN="http://localhost:3000"
ENV UNIFI_SITE="default"
ENV UNIFI_PORT="443"
ENV UNIFI_TLS=false
ENV REDIS_HOST="redis"
ENV REDIS_PORT=6379
ENV NODE_ENV="production"

# Set the working directory in the container
WORKDIR /app
Expand All @@ -16,16 +27,5 @@ COPY . .
# Expose the port on which the Node.js application will run
EXPOSE 3000

# Set default env variable values
ENV PORT=3000
ENV IMG_PATH="img/background"
ENV ORIGIN="http://localhost:3000"
ENV UNIFI_SITE="default"
ENV UNIFI_PORT="443"
ENV UNIFI_TLS=false
ENV REDIS_HOST="redis"
ENV REDIS_PORT=6379
ENV NODE_ENV="production"

# Command to run the Node.js application
CMD ["node", "server.js"]

0 comments on commit d3d7308

Please sign in to comment.