Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit 981e1dd

Browse files
[skip ci]
1 parent 1af326f commit 981e1dd

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docker/Dockerfile

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# Use the base image with Node.js
2+
FROM node:10
3+
4+
ARG APPMODE
5+
ARG APPENV
6+
7+
ENV APPMODE=$APPMODE
8+
ENV APPENV=$APPENV
9+
10+
# Copy the current directory into the Docker image
11+
COPY . /taas-admin
12+
13+
# Set working directory for future use
14+
WORKDIR /taas-admin
15+
16+
# Install the dependencies from package.json
17+
RUN npm install
18+
19+
RUN npm run build
20+
21+
CMD npm start

0 commit comments

Comments
 (0)