Changes related to deployment change stuff mostly. Some small docs changes
This commit is contained in:
parent
9f6ba43faf
commit
73d92fe840
3 changed files with 22 additions and 2 deletions
20
Dockerfile
Normal file
20
Dockerfile
Normal file
|
|
@ -0,0 +1,20 @@
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
# Create app directory
|
||||||
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
# Install app dependencies
|
||||||
|
COPY package*.json ./
|
||||||
|
RUN npm install
|
||||||
|
|
||||||
|
# Build and test
|
||||||
|
COPY tsconfig.json ./
|
||||||
|
COPY ./src ./src
|
||||||
|
RUN npm run build --if-present
|
||||||
|
RUN npm run test --if-present
|
||||||
|
|
||||||
|
# Remove source files
|
||||||
|
RUN rm -r ./src
|
||||||
|
|
||||||
|
EXPOSE 3000
|
||||||
|
CMD [ "npm", "start" ]
|
||||||
|
|
@ -1,2 +1,2 @@
|
||||||
# bridgemanaccessible.ca
|
# Main Website - Bridgeman Accessible (bridgemanaccessible.ca)
|
||||||
The Bridgeman Accessible website
|
The Bridgeman Accessible main website
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue