File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -8,9 +8,6 @@ COPY package*.json ./
8
8
# Run npm install to install app dependencies
9
9
RUN npm install
10
10
11
- # Copy the current directory contents into the container at /app
12
- COPY . .
13
-
14
11
# Set the PATH env variable
15
12
# ENV PATH="/usr/local/bin:${PATH}"
16
13
# COPY /usr/local/bin/docker /usr/local/bin/docker
@@ -19,6 +16,8 @@ RUN curl -fsSLO https://download.docker.com/linux/static/stable/x86_64/docker-${
19
16
&& tar xzvf docker-${DOCKERVERSION}.tgz --strip 1 -C /usr/local/bin docker/docker \
20
17
&& rm docker-${DOCKERVERSION}.tgz
21
18
19
+ # Copy the current directory contents into the container at /app
20
+ COPY . .
22
21
23
22
# Make port 4000 available to the world outside this container
24
23
EXPOSE 4000
Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ const useHelper = () => {
52
52
/* Removes stopped containers @param {*} containerID */
53
53
remove ( containerID ) {
54
54
const { removeContainer } = dispatch ;
55
- fetch ( `/api/removeContainer?id=${ containerID } ` )
55
+ fetch ( `/api/command/ removeContainer?id=${ containerID } ` )
56
56
. then ( ( message ) => message . json ( ) )
57
57
. then ( ( message ) => {
58
58
console . log ( { message } ) ;
You can’t perform that action at this time.
0 commit comments