Skip to content

Commit ac9e73a

Browse files
committed
corrections
1 parent e64daeb commit ac9e73a

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN apt-get update && apt-get -y --no-install-recommends upgrade && apt-get inst
2020
&& rm -rf /var/lib/apt/lists/*
2121

2222
COPY . .
23-
23+
RUN chmod 777 /data/scripts/checkinstall.sh
2424
RUN yarn install \
2525
--prefer-offline \
2626
--frozen-lockfile \
@@ -34,4 +34,4 @@ RUN yarn build
3434

3535
EXPOSE 3000
3636

37-
CMD ["/data/scripts/checkinstall.sh;yarn", "run", "start:prod"]
37+
ENTRYPOINT ["./entrypoint.sh"]

entrypoint.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#!/bin/bash
2+
3+
/data/scripts/checkinstall.sh
4+
yarn run start:prod
5+

0 commit comments

Comments
 (0)