-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove unnecessary packages from container
- Loading branch information
1 parent
a04c4bc
commit 71d2368
Showing
5 changed files
with
7 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,4 +4,5 @@ node_modules/ | |
.github/ | ||
.gitignore | ||
Dockerfile* | ||
LICENSE | ||
README.md |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,12 @@ | ||
FROM node:16-bullseye | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y \ | ||
build-essential zip unzip \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
ENV NODE_ENV=production | ||
|
||
COPY . /usr/local/share/file-manager | ||
RUN cd /usr/local/share/file-manager \ | ||
&& npm install . | ||
&& npm install . \ | ||
&& rm -rf ~/.npm ~/.cache | ||
|
||
VOLUME /data | ||
WORKDIR /data | ||
|
||
ENV NODE_ENV=production | ||
|
||
CMD ["node", "/usr/local/share/file-manager/index.js"] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.