Skip to content

Create Dockerfile #303

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
FROM node:latest

RUN mkdir parse

ADD . /parse
WORKDIR /parse
RUN npm install kerberos
RUN npm install

ENV PARSE_SERVER_APPLICATION_ID string
ENV PARSE_SERVER_MOUNT_PATH string
ENV PARSE_SERVER_DATABASE_URI string
ENV PARSE_SERVER_CLOUD_CODE_MAIN string
ENV PARSE_SERVER_MASTER_KEY string

#ENV PARSE_SERVER_COLLECTION_PREFIX
#ENV PARSE_SERVER_CLIENT_KEY
#ENV PARSE_SERVER_REST_API_KEY
#ENV PARSE_SERVER_DOTNET_KEY
#ENV PARSE_SERVER_JAVASCRIPT_KEY
#ENV PARSE_SERVER_DOTNET_KEY
#ENV PARSE_SERVER_FILE_KEY
#ENV PARSE_SERVER_FACEBOOK_APP_IDS

EXPOSE 1337

# Uncomment if you want to access cloud code outside of your container
# A main.js file must be present, if not Parse will not start

# VOLUME /parse/cloud

CMD [ "npm", "start" ]