blackbirdchess-docker-dev/mssql/Dockerfile

24 lines
419 B
Docker
Raw Normal View History

2017-03-26 01:20:24 +01:00
FROM microsoft/mssql-server-linux
2018-03-16 10:34:47 +01:00
LABEL maintainer="Mahmoud Zalt <mahmoud@zalt.me>"
2017-03-26 09:56:55 +02:00
2017-03-26 01:20:24 +01:00
# Create config directory
# an set it as WORKDIR
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app
# Bundle app source
COPY . /usr/src/app
RUN chmod +x /usr/src/app/create_table.sh
ENV MSSQL_DATABASE=$MSSQL_DATABASE
ENV ACCEPT_EULA=Y
ENV SA_PASSWORD=$MSSQL_PASSWORD
VOLUME /var/opt/mssql
EXPOSE 1433
2017-03-26 09:56:55 +02:00
CMD /bin/bash ./entrypoint.sh