Skip to content

Commit fa29136

Browse files
author
Daniel Schmidt
committed
Scaffold the artifacts directory
1 parent b4c3bd8 commit fa29136

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,7 @@ ENTRYPOINT ["npm"]
4949
# The default command runs the server.
5050
CMD ["run", "server"]
5151

52+
# Necessary for the GitHub Actions workflow
5253
ENV PATH=/usr/src/app/bin:$PATH
54+
RUN mkdir -p /opt/app/artifacts && \
55+
chown -R waam:waam /opt/app

bin/test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
#!/bin/sh -e
22

3+
echo 'Check if the app is running on localhost:3002'
34
wget localhost:3002 -O - 2> /dev/null | grep -q 'West African'

0 commit comments

Comments
 (0)