From cee5af884e9c44d5466f8c778cd0c2dffb56388c Mon Sep 17 00:00:00 2001 From: KernelDeimos Date: Wed, 6 Mar 2024 14:05:35 -0500 Subject: [PATCH] Revert "Update Dockerfile" This reverts commit b534d678dc3a49e0191b89f2b9c760fd7bf81e09. --- .dockerignore | 3 --- Dockerfile | 30 ------------------------------ 2 files changed, 33 deletions(-) delete mode 100644 .dockerignore delete mode 100644 Dockerfile diff --git a/.dockerignore b/.dockerignore deleted file mode 100644 index a9c8231f..00000000 --- a/.dockerignore +++ /dev/null @@ -1,3 +0,0 @@ -.dockerignore -Dockerfile -node_modules diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index a33734e9..00000000 --- a/Dockerfile +++ /dev/null @@ -1,30 +0,0 @@ -FROM node:21-alpine - -# Set labels -LABEL repo="https://github.com/HeyPuter/puter" -LABEL license="AGPL-3.0,https://github.com/HeyPuter/puter/blob/master/LICENSE.txt" -LABEL version="v1.2.40-beta" - -# Debugging -RUN apk add --no-cache bash # useful for debugging - -# Setup working directory -RUN mkdir -p /opt/puter/app -WORKDIR /opt/puter/app - -# Add source files -# NOTE: This might change (https://github.com/HeyPuter/puter/discussions/32) -COPY . . - -# Set permissions -RUN chown -R node:node /opt/puter/app -USER node - -# Install node modules -RUN npm cache clean --force \ - && npm install - -EXPOSE 4000 - - -CMD [ "npm", "start" ]