Skip to content

Commit

Permalink
docker enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
hotlong committed Sep 26, 2023
1 parent 3be9490 commit 1567b92
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
11 changes: 4 additions & 7 deletions deploy/enterprise/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ RUN apt-get update || : && apt-get install -y \
curl \
build-essential

WORKDIR /app

# Install MongoDB 4.4
# https://www.mongodb.com/docs/v4.4/tutorial/install-mongodb-on-debian/
RUN apt-get update \
Expand All @@ -32,9 +30,10 @@ RUN apt-get update \
&& apt-get remove -y git python-pip \
&& apt-get clean -y

COPY ./fs/ /


COPY package.json .
COPY steedos.config.js .
WORKDIR /opt/steedos/platform

ENV NODE_ENV=production

Expand Down Expand Up @@ -62,9 +61,7 @@ ENV TMP /tmp/steedos
# Define volumes - Service Layer
VOLUME [ "/steedos-stacks" ]

WORKDIR /app

COPY ./fs/ /
WORKDIR /opt/steedos/platform

ENTRYPOINT [ "/opt/steedos/entrypoint.sh" ]

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[program:steedos]
directory=/app
command=/opt/steedos/run-with-env.sh ./node_modules/.bin/steedos start --config steedos.config.js
directory=/opt/steedos/platform/
command=/opt/steedos/run-with-env.sh /opt/steedos/platform/node_modules/.bin/steedos start --config /opt/steedos/platform/steedos.config.js
priority=15
autostart=true
autorestart=true
Expand Down

0 comments on commit 1567b92

Please sign in to comment.