Switch branches/tags
Nothing to show
Find file Copy path
180b627 Mar 17, 2017
1 contributor

Users who have contributed to this file

28 lines (20 sloc) 647 Bytes
FROM microsoft/mssql-server-linux:latest
# Install node/npm
RUN apt-get -y update && \
apt-get install -y curl && \
curl -sL | bash - && \
apt-get install -y nodejs
# Install tedious, the driver for SQL Server for Node.js
RUN npm install tedious
# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Install app dependencies
COPY package.json /usr/src/app/
RUN npm install
# Bundle app source
COPY . /usr/src/app
# Grant permissions for the import-data script to be executable
RUN chmod +x /usr/src/app/
CMD /bin/bash ./